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"

Task #8700 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

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

Fixed with a couple of commits, first with incorrect permissions, then with https://github.com/will-moore/openmicroscopy/commit/1eb4e4f39730f59508177ffaceaf4bcb2257e605

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

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.118086 sec.)

We're Hiring!