User Story #688 (closed)
Opened 17 years ago
Closed 17 years ago
User cannot change his details
Reported by: | atarkowska | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | 3.0-Beta2 |
Component: | Security | Keywords: | iteration6 |
Cc: | aleksandrat@… | Story Points: | n.a. |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | n.a. | Estimated Remaining Time: | n.a. |
Description
User cannot change his details because method has got the role for "system" user olny.
Change History (3)
comment:1 Changed 17 years ago by jmoore
- Keywords iteration6 added
comment:2 Changed 17 years ago by atarkowska
comment:3 Changed 17 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
r1552 implements.
- getDefaultGroup allows non-admin read (This should have always been the case)
- setDefaultGroup checks if a user is adminl; if not, only self can be modified. (Changing default group to "user" group is no longer permitted.)
- updateSelf(Experimenter e) was added. The id, omeName, version, and details fields are ignored. Only the simple string fields are used. The rest can be null or even inaccurate: changes will be applied to the current user.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Methods for changing are:
public ExperimenterGroup? getDefaultGroup(@NotNull? Long experimenterId)
public void setDefaultGroup(Experimenter user, ExperimenterGroup? group)
public void updateExperimenter(@NotNull? Experimenter experimenter)
should allows for user