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"

User Story #8434 (new)

Opened 12 years ago

Last modified 12 years ago

Web chmod — at Version 1

Reported by: wmoore Owned by: atarkowska
Priority: major Milestone: OMERO-4.4
Component: Web Keywords: n.a.
Cc: cxallan, jamoore, atarkowska, cneves, jburel Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: 0.0d Estimated Remaining Time: n.a.

Description (last modified by wmoore)

See: https://github.com/openmicroscopy/openmicroscopy/pull/135 from branch https://github.com/joshmoore/openmicroscopy/tree/2874-chmod

This will need to be accompanied by a DB upgrade to change current "rwrw--" to "rwra--" (read-annotate). The expected behavior of canEdit and canAnnotate (for non-owners of Objects) look like this:

Group perms | canAnnotate | canEdit | DB upgrade
--------------------------------------------------------
rw----      | False       | False   | unchanged
rwr---      | False       | False   | unchanged
rwra-- (new)| True        | False   | shouldn't exist
rwrw--      | True        | True    | changed to 'rwra--'

Web tasks:

  • Replace IAdmin.changePermissions() with omero.cmd.Chmod
  • Test speed
  • Remove webadmin warnings about slow chmod
  • Use canEdit() and canAnnotate() to enable/disable editing, deleting, linking & annotating in UI

Change History (1)

comment:1 Changed 12 years ago by wmoore

  • Description modified (diff)
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.103867 sec.)

We're Hiring!