Skip to content

Admin move to group 12305#2541

Merged
joshmoore merged 1 commit intoome:dev_5_0from
will-moore:admin_move_to_group_12305
May 23, 2014
Merged

Admin move to group 12305#2541
joshmoore merged 1 commit intoome:dev_5_0from
will-moore:admin_move_to_group_12305

Conversation

@will-moore
Copy link
Copy Markdown
Member

This fixes the list of Groups available for an Admin when they right-click and "Move to Group". Now we only show the groups that the Admin is a member of.

This is a partial fix for http://trac.openmicroscopy.org.uk/ome/ticket/12305

To test, log in as Admin, right click on Dataset or Image -> Move to Group.
List of groups should only be the ones that the Admin is a member of.

@kennethgillen
Copy link
Copy Markdown
Member

@will-moore isn't it possible to add scrolling to the list or some other UI feature? I might wish to actually put some data in a user's group, no? Instead of fixing my ability to choose the group, I'm having the functionality removed.

@will-moore
Copy link
Copy Markdown
Member Author

I don't have much control over those right-click menus. They are a jsTree widget. Adding scrolling to hierarchical lists is tricky (see my attempt at the Groups/Users dropdown). Also, if you moved your own data to a group that you are not a member of, it would effectively disappear (you would have no way to access it) so this is really a bug not a feature.
The more important missing feature is moving data belonging to another user: https://trac.openmicroscopy.org.uk/ome/ticket/10588. This will involve a change to the UI anyway, which will remove the list of Groups from the right-click menu and put it all in a dialog (same as Insight). This will also fix the problem with long group lists.

@gusferguson
Copy link
Copy Markdown

@will-moore
Tested using Gretzky user-6 private-1 and read-annotate-1.
Works as expected.
Good to merge.

joshmoore added a commit that referenced this pull request May 23, 2014
@joshmoore joshmoore merged commit 25000f5 into ome:dev_5_0 May 23, 2014
@joshmoore joshmoore deleted the admin_move_to_group_12305 branch May 23, 2014 10:51
@pwalczysko
Copy link
Copy Markdown
Member

Unfortunately, now with rc2 on gretzky this turns out to have fatal consequences for the group choice menu (all on gretzky, user-6, try to change a group, looking for read-only-1(.
The list is either incomplete, or (certainly) completely non-ordered (and thus I cannot find read-only in the list at all ).

screen shot 2014-05-23 at 14 46 44

@pwalczysko
Copy link
Copy Markdown
Member

On a second look, I think I can find all what is there - it is just not in the right order (which it used to be before this PR was merged).

@pwalczysko
Copy link
Copy Markdown
Member

@joshmoore @jburel @sbesson : @will-moore is looking into it right now, I think it would be good to have this fixed for 5.0.2

@will-moore
Copy link
Copy Markdown
Member Author

Fix in #2546

@will-moore
Copy link
Copy Markdown
Member Author

--rebased-to #2557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants