New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #12362, #12396: allow group owner to change permission level #2655
fix #12362, #12396: allow group owner to change permission level #2655
Conversation
Bug: It seems now that also some non-owners members are "allowed" to change the group permissions in UI, but in fact it will end up in error. Workflow:
|
Note that the above bug is specific for users which are owners of another group. A member which is not an owner of another group will get a greyed out menu in right hand pane as expected |
If you have images annotated by other users in Read-annotate and then the owner downgrades the group to Private, the action of the downgrade fails silently. This is acceptable for this PR I suppose, we wanted to have a warning though. What is surprising is that even after the owner of the group deletes and unlinks these links, the downgrade to Private still fails silently. -> Not expected. |
Note that the downgrade to Private works fine if the images are not annotated. |
I'm glad you noticed this issue with your "Petr Test Mark's PR" group: it should be fixed in the next merge build. Yes, definitely make sure the absent warning for failed downgrade is ticketed somewhere if not already, as well as the wrongly failed downgrades. |
Created http://trac.openmicroscopy.org.uk/ome/ticket/12395 for the failed downgrade. |
Created http://trac.openmicroscopy.org.uk/ome/ticket/12396?pane=edit for the missing warning dialog. |
Now @pwalczysko shows me that it's possible to adjust groups from the Project browser as well as the Administration one! So, I will have to look at that. |
@pwalczysko: it seems to be working this morning, perhaps when we tried before the new one hadn't deployed or something: please re-test. |
@mtbc @pwalczysko is that functionality only for admins? What about group owners, in Web is allowed |
Yes, also group owners. |
ohh sorry I had to look at the wrong group. |
OK, after testing I thing web does better job of handling group management then Insight. Basically there are cases where you are not allowed to downgrade it and Web notify you about it. Insight silently skip it. After clicking Save button there is no information that this action is not possible. |
@aleksandra-tarkowska : I am afraid that in Web the ticket is describing a situation where you are logged in as a group owner (= NOT admin). This is not irrelevant, at least during Paris meeting it was not. |
@pwalczysko because of annotation links it is not allowed. |
@mtbc @aleksandra-tarkowska Ready to merge. |
Missing warning dialog of #2655 (comment) now fixed. |
Works as expected. Ready to merge. |
…issions fix #12362, #12396: allow group owner to change permission level
Fixes http://trac.openmicroscopy.org.uk/ome/ticket/12362 and http://trac.openmicroscopy.org.uk/ome/ticket/12396 so that group owners can change group permissions in Insight and get the usual warning if they try to downgrade to Private.
--rebased-to #2752