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

Opened 11 years ago

Closed 11 years ago

PySLID should take account of users who switch groups

Reported by: spli Owned by: spli
Priority: minor Milestone: 5.0.0-beta1
Component: General Version: n.a.
Keywords: searcher Cc: analysis@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: FS demo 4.4

Description

pyslid.database.direct uses conn.getGroupFromContext() in multiple places to get the current OMERO group, mostly for limiting queries to a single group. This fails when a user has switched to a different group.

conn.SERVICE_OPTS and @login_required(setGroupContext=True) should be used instead.

Change History (4)

comment:1 Changed 11 years ago by jburel

  • Sprint changed from FS Demo 4.3 to FS demo 4.4

Moved from sprint FS Demo 4.3

comment:2 Changed 11 years ago by spli

  • Status changed from new to accepted

comment:3 Changed 11 years ago by spli

comment:4 Changed 11 years ago by spli

  • Resolution set to fixed
  • Status changed from accepted to closed
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.68585 sec.)

We're Hiring!