-
Notifications
You must be signed in to change notification settings - Fork 100
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
Webadmin 'Read-Write' perms #3783
Webadmin 'Read-Write' perms #3783
Conversation
NB: I'd propose this is one for a "space", i.e. something it's good to get in and start testing, but which realistically might not make it into 5.1.2 based on other constraints (like testing). |
@pwalczysko suggests that this should be marketed properly since this is a special type of group where there needs to be a lot of trust. cc: @hflynn |
Most likely server bug in r-w group is deleting others' data (e.g., annotation on image that is being deleted) in obviously wrong cases. (Less clear cases can probably wait for larger permissions review.) |
I've stuck a card on the docs board for this - https://trello.com/c/dUmuMrkk/325-read-write-groups |
I like it. Better warn ahead of time, as it's not like our deletes have an undo. |
I agree, better a slightly aggressive warning message than angry users who have lost their data! |
@will-moore : I suppose the warning will pop up even when just upgrading the permissions of an existing group (in some respect this is the more dangerous workflow) |
Certainly that last commit shouldn't have caused any Travis failures.
and
seem unrelated to this PR. |
Kicked travis. |
All seems to be working fine. No issues with adding RW group and updating users. Deletion works as expected. Just noticed one issue with deleting Tag
Cannot delete someone else tag because is locked |
Made a note at https://trello.com/c/ScEErwT9/222-5-1-2-follow-up to fix Delete tag-locked. |
Since we turn on that functionality in a point release we should complete it on this PR. (release in few weeks), the "follow-up" PR might not be ready on time and we won't have the functionality completed. |
@jburel Sorry - not sure I understand your last comment. Is there more that I need to do with this PR? Do you mean the delete of 'tag-locked'? |
Discussion on RW (not only web related) scheduled on Wednesday morning when everybody is back. |
I'm going to make a start on the permissions docs BTW, I want to get this documented before I go on holiday next week. |
Tested with trout merge user-6 and user-3. The warning is showing up as expected for admin. Good to merge. |
re: #3783 (comment) -- what's the status of the delete tag? |
@joshmoore Handle delete of 'tag-locked' is on my todo list at https://trello.com/c/ScEErwT9/222-5-1-2-follow-up. |
@joshmoore I'm assuming that this is awaiting a final decision to "support read-write for 5.1.2" and that there's nothing else I actually need to do on this PR? |
When all the PR are ready, we should be good to go. gh-3827 will be reviewed again tomorrow |
Merging for 5.1.2. |
…0751 Webadmin 'Read-Write' perms
This allows Admins to create 'Read-Write' groups in webadmin. See https://trac.openmicroscopy.org/ome/ticket/10751
To test: