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"

Bug #698 (closed)

Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

No defaults listed for root group

Reported by: jamoore Owned by: aleksandrat@…
Priority: minor Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description

That by itself isn't so bad, but then when trying to update the experimenter, validation won't let me continue without the field filled out.

Attachments (1)

nodefaults.png (9.0 KB) - added by jmoore 17 years ago.

Download all attachments as: .zip

Change History (8)

Changed 17 years ago by jmoore

comment:1 Changed 17 years ago by atarkowska

Root is special user. When you want to create user you need to set default group because cannot be null:

long createExperimenter(@NotNull?, Experimenter experimenter, @NotNull?, ExperimenterGroup? defaultGroup, ExperimenterGroup?... otherGroups);

and the conclusion is that default group has to be set anytime.
I can add condition when user is "root", the field won't be validate.

comment:2 Changed 17 years ago by jmoore

Ok, but why isn't the drop down box filled? Roots default group is set to "system". If the box were there, then that would be highlighted.

comment:3 Changed 17 years ago by atarkowska

Because there is filter. List<ExperimenterGroup?> of default group which you can see is lookupGroups() where you have got everything. I filtered and removed "user" and "system". I didn't know that system can be set as default.

Well, "system" can be set as default and should be on the list? and "user" too? Is there any case when "user" should be set as default?

comment:4 Changed 17 years ago by jmoore

No, there's no good reason for "user" to be default. During login, one is required to login to a group other than default. (It is allowed to login to "system" as admin.)

comment:5 Changed 17 years ago by jmoore

I was wandering about "system" on default list. This case is only for
"root", isn't it? What about user who is enrolled for "system"
because is admin? Does the user see "system" on his default list too?

Yes. It's says "I'm admin". If they want to take themselves out of
admin, they're welcome to, but they won't be able to get back in. They
may also want to make themselves default = "Jason's Lab" today because they're doing research, and tomorrow default = "system" because there's a lot of junk to clean up.

comment:6 Changed 17 years ago by atarkowska

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

comment:7 Changed 16 years ago by jmoore

  • Milestone changed from Unscheduled to 3.0-Beta2
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.64524 sec.)

We're Hiring!