You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As reported at ome/omero-metadata#62 (comment)
if the /iviewer/?roi=ID link refers to an ROI that is not in your default group, you get a Security Violation
/iviewer/roi/437462/image_data/ fails with:
File "/home/omero/workspace/OMERO-web/.venv3/lib64/python3.6/site-packages/omero_iviewer/views.py", line 468, in roi_image_data
roi = conn.getQueryService().get('Roi', int(obj_id))
File "/home/omero/workspace/OMERO-web/.venv3/lib64/python3.6/site-packages/omero/gateway/__init__.py", line 4879, in __call__
return self.handle_exception(e, *args, **kwargs)
File "/home/omero/workspace/OMERO-web/.venv3/lib64/python3.6/site-packages/omeroweb/webclient/webclient_gateway.py", line 2109, in handle_exception
super(OmeroWebSafeCallWrapper, self).handle_exception(e, *args, **kwargs)
File "/home/omero/workspace/OMERO-web/.venv3/lib64/python3.6/site-packages/omero/gateway/__init__.py", line 4876, in __call__
return self.f(*args, **kwargs)
File "/home/omero/workspace/OMERO-web/.venv3/lib64/python3.6/site-packages/omero_api_IQuery_ice.py", line 322, in get
return _M_omero.api.IQuery._op_get.invoke(self, ((klass, id), _ctx))
omero.SecurityViolation: exception ::omero::SecurityViolation
{
serverStackTrace = ome.conditions.SecurityViolation: Cannot read ome.model.roi.Roi:Id_437462
at ome.security.basic.BasicACLVoter.throwLoadViolation(BasicACLVoter.java:300)
The text was updated successfully, but these errors were encountered:
As reported at ome/omero-metadata#62 (comment)
if the
/iviewer/?roi=ID
link refers to an ROI that is not in your default group, you get a Security Violation/iviewer/roi/437462/image_data/
fails with:The text was updated successfully, but these errors were encountered: