Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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

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

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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64484 sec.)

We're Hiring!