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 #9149 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: core group permissions wrong

Reported by: jamoore Owned by: jamoore
Priority: blocker Milestone: OMERO-4.4
Component: ORM Version: n.a.
Keywords: n.a. Cc: omero-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

As seen on gretzky, the permissions user for the system group (-103) are no longer valid and instead should be -120. Similarly, -35 for "user" should now be -52.

omero=# select id, name, permissions, ome_perms(permissions), new_ome_perms(permissions) from experimentergroup;
 id |        name         | permissions | ome_perms | new_ome_perms 
----+---------------------+-------------+-----------+---------------
  0 | system              |        -103 | rw----    | rw-a-a
  1 | user                |         -35 | rwr-r-    | rwrara
  2 | guest               |        -103 | rw----    | rw-a-a
  3 | private-1           |        -120 | rw----    | rw----
  4 | read-only-1         |         -56 | rwr---    | rwr---
  5 | read-annotate-1     |         -40 | rwr---    | rwra--
  6 | read-write-1        |          -8 | rwrw--    | rwrw--
  7 | adm-private-1       |        -120 | rw----    | rw----
  8 | adm-read-only-1     |         -56 | rwr---    | rwr---
  9 | adm-read-annotate-1 |         -40 | rwr---    | rwra--
 10 | adm-read-write-1    |          -8 | rwrw--    | rwrw--
(11 rows)

Change History (2)

comment:1 Changed 12 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

Pushed commit to pull https://github.com/openmicroscopy/openmicroscopy/pull/192(#8696):

commit 276146318f3e57791d3fc32984d9fb4feb5a4445
Author: jmoore <josh@glencoesoftware.com>
Date:   Tue Jun 12 09:03:55 2012

    Fix permissions on core groups (Fix #9149)
    
    -35 should now be -52 (rwr-r-), and -103 should now
    be -120 (rw----)

comment:2 Changed 12 years ago by jmoore <josh@…>

  • Remaining Time set to 0

(In [276146318f3e57791d3fc32984d9fb4feb5a4445/ome.git] on branch develop) Fix permissions on core groups (Fix #9149)

-35 should now be -52 (rwr-r-), and -103 should now
be -120 (rw----)

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

We're Hiring!