Skip to content

manager.createTagAnnotations SecurityViolation: Cannot read ome.model.annotations.ExperimenterAnnotationLink #661

@will-moore

Description

@will-moore

Can't see how we got this error (why ExperimenterAnnotationLink is being read)?

https://qa.openmicroscopy.org/qa/feedback/91989/ and https://qa.openmicroscopy.org/qa/feedback/91991/

File "/opt/omero/web/venv-3.12/lib64/python3.12/site-packages/omeroweb/webclient/views.py", line 2804, in annotate_tags
manager.createTagAnnotations(

File "/opt/omero/web/venv-3.12/lib64/python3.12/site-packages/omeroweb/webclient/controller/container.py", line 733, in createTagAnnotations
self.conn.saveArray(new_links)

File "/opt/omero/web/venv-3.12/lib64/python3.12/site-packages/omeroweb/webclient/webclient_gateway.py", line 1619, in saveArray
u.saveArray(objs, ctx)

File "/opt/omero/web/venv-3.12/lib64/python3.12/site-packages/omero/gateway/__init__.py", line 4878, in __call__
return self.handle_exception(e, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/opt/omero/web/venv-3.12/lib64/python3.12/site-packages/omeroweb/webclient/webclient_gateway.py", line 2106, in handle_exception
super(OmeroWebSafeCallWrapper, self).handle_exception(e, *args, **kwargs)

File "/opt/omero/web/venv-3.12/lib64/python3.12/site-packages/omero/gateway/__init__.py", line 4875, in __call__
return self.f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^

File "/opt/omero/web/venv-3.12/lib64/python3.12/site-packages/omero_api_IUpdate_ice.py", line 172, in saveArray
return _M_omero.api.IUpdate._op_saveArray.invoke(self, ((graph, ), _ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

omero.SecurityViolation: exception ::omero::SecurityViolation
{
serverStackTrace = ome.conditions.SecurityViolation: Cannot read ome.model.annotations.ExperimenterAnnotationLink:Id_151
at ome.security.basic.BasicACLVoter.throwLoadViolation(BasicACLVoter.java:300)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions