#1426 closed defect (fixed)

Cannot modify account info for users not located in volume(s)

Reported by: gcooper Owned by: william
Priority: blocker Milestone:
Component: GUI Version: 8.2.0-BETA2
Keywords: Cc:

Description

The restrictions for freeadmin.Account.PathField? constrain too much. /root should be in the accepted list of paths to permit when saving ssh pubkeys (this is what the middleware does).

Procedure:

  1. Go to Account -> Admin Account -> Change User.
  2. Press Enter.

Expected result:

  • Nothing should happen, or the GUI should at least let the input pass.

Actual result:

  • freeadmin.Account.PathField? throws an Exception and the GUI won't allow me to make changes for the root user.

Found on: FreeNAS-8.2.1-ALPHA-r10552-x64

Attachments (1)

cannot-modify-user-info.png (118.7 KB) - added by gcooper 14 months ago.

Download all attachments as: .zip

Change History (4)

Changed 14 months ago by gcooper

comment:1 Changed 14 months ago by gcooper

As one can see in the example above, users with home = /nonexistent are broken as well.

comment:2 Changed 14 months ago by william

  • Owner set to william
  • Status changed from new to accepted

comment:3 Changed 14 months ago by william

  • Resolution set to fixed
  • Status changed from accepted to closed

This should be fixed in r10872

Note: See TracTickets for help on using tickets.