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

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: canEdit still returning wrong values

Reported by: jamoore Owned by:
Priority: blocker Milestone: OMERO-4.4.4
Component: Services Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-09-25 (5)

Description

Both OmeroJava and OmeroPy are still suffering under some form of permissions corruption. #9505 described a similar issue. This seems to happen regardless of omero.group. I'll attach two tests both of which show the problem against gretzky.

Attachments (3)

canedit.py (1.4 KB) - added by jmoore 12 years ago.
canedit.java (1.9 KB) - added by jmoore 12 years ago.
PermissionsGroup.png (146.7 KB) - added by jburel 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by jmoore

Changed 12 years ago by jmoore

comment:1 Changed 12 years ago by jmoore

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

Fix pushed to https://github.com/openmicroscopy/openmicroscopy/pull/369 for review. This is not the most optimal fix, but does have both of the scripts above returning only trues for user-12 on gretzky (an admin).

Changed 12 years ago by jburel

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

(In [2482a7f7f5005ca5daacbf0686e814880be2374b/ome.git] on branch develop) Fix canEdit corruption (See #9635)

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

We're Hiring!