Task #8700 (closed)
CreateGroup new perms: webadmin
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-4.4 |
Component: | WebAdmin | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2012-05-08 (14) |
Description (last modified by wmoore)
In 4.4.0, webadmin needs to be able to create groups with the following permissions
- Private (rw----)
- Read-Only (rwr---)
- Read-Annotate (rwra--)
Support for Read-Edit (rwre--) may come in 4.4.1?
We should switch permissions creation to use strings E.g
permissions = PermissionsI("rwra—")
Since this is much easier and more definitive than setting permissions via API.
Josh:
I modified setUserWrite(True) to also call setUserAnnotate(True), but it could possibly get confusing. The string parameter is certainly definitive.
Change History (4)
comment:1 Changed 12 years ago by wmoore
- Description modified (diff)
comment:2 Changed 12 years ago by wmoore
- Owner changed from atarkowska to wmoore
comment:3 Changed 12 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 12 years ago by Will Moore <will@…>
- Remaining Time set to 0
(In [325725ca6d3f62a6c30eb9191587cfe6b9276f4f/ome.git] on branch develop) Using PermissionsI('rwra--') to create groups. Closes #8700
Fixed with a couple of commits, first with incorrect permissions, then with https://github.com/will-moore/openmicroscopy/commit/1eb4e4f39730f59508177ffaceaf4bcb2257e605