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
Haven't been able to reproduce this in webclient.
As a root user, when creating a Dataset under another user's data in Read-Only group, the Dataset ownership gets assigned to that user with no errors...
Traceback (most recent call last):
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/decorators.py", line 538, in wrapped
retval = f(request, *args, **kwargs)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/decorators.py", line 597, in wrapper
context = f(request, *args, **kwargs)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/webclient/views.py", line 2882, in manage_action_containers
oid = manager.createDataset(name, description, owner=owner)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/webclient/controller/container.py", line 581, in createDataset
self.conn.saveAndReturnId(l_ds, owner=owner)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/webclient/webclient_gateway.py", line 1681, in saveAndReturnId
res = u.saveAndReturnObject(obj, ctx)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero/gateway/__init__.py", line 4859, in __call__
return self.handle_exception(e, *args, **kwargs)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/webclient/webclient_gateway.py", line 2123, in handle_exception
super(OmeroWebSafeCallWrapper, self).handle_exception(e, *args, **kwargs)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero/gateway/__init__.py", line 4856, in __call__
return self.f(*args, **kwargs)
File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero_api_IUpdate_ice.py", line 163, in saveAndReturnObject
return _M_omero.api.IUpdate._op_saveAndReturnObject.invoke(self, ((obj, ), _ctx))
omero.ReadOnlyGroupSecurityViolation: exception ::omero::ReadOnlyGroupSecurityViolation
{
serverStackTrace = ome.conditions.ReadOnlyGroupSecurityViolation: Cannot link to ome.model.containers.Project:Id_901
Current user (root) is an admin or the owner of
the private group (RPB-B-DE=rw----). It is not allowed to
link to users' data.
The text was updated successfully, but these errors were encountered:
Haven't been able to reproduce this in webclient.
As a root user, when creating a Dataset under another user's data in Read-Only group, the Dataset ownership gets assigned to that user with no errors...
https://www.openmicroscopy.org/qa2/qa/feedback/40658/
The text was updated successfully, but these errors were encountered: