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
comment:2 Changed 11 years ago by spli
- Status changed from new to accepted
comment:3 Changed 11 years ago by spli
PR opened against pyslid https://github.com/icaoberg/pyslid/pull/3
comment:4 Changed 11 years ago by spli
- Resolution set to fixed
- Status changed from accepted to closed
Submodule update in https://github.com/openmicroscopy/omero_searcher/pull/5
Moved from sprint FS Demo 4.3