Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JoinSession and Browse group #293

Open
jburel opened this issue Apr 29, 2022 · 3 comments
Open

JoinSession and Browse group #293

jburel opened this issue Apr 29, 2022 · 3 comments

Comments

@jburel
Copy link
Member

jburel commented Apr 29, 2022

Background https://www.openmicroscopy.org/qa2/qa/feedback/31022/

Thanks to @chris-allan for narrowing down the problem

  • Connect using user name and password. It is possible to browse data in any of the group the user has access to and the permissions to do so.
  • Connect using sessionkey. It is not possible to browse data of certain group types. Opening an image in the default group might be a factor to put the application in a strange state. This will need to be narrowed down.

Error likes the one in the QA or the one below can occur

java.lang.Exception: omero.gateway.exception.DSAccessException: For security reasons, cannot access data. 
Cannot load hierarchy for class omero.gateway.model.ProjectData.
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:760)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.loadContainerHierarchy(OMEROGateway.java:1652)
	at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.loadContainerHierarchy(OmeroDataServiceImpl.java:233)
	at org.openmicroscopy.shoola.env.data.views.calls.DMLoader$1.doCall(DMLoader.java:82)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:748)
Caused by: omero.SecurityViolation
    serverStackTrace = "ome.conditions.SecurityViolation: SecurityContext change cancelled:
                        1df5a941-e351-4e00-b4b8-d3780fcdef83 has active stateful services:
                        
                        7a3a8a9a-4e81-49fa-b1a7-f1402f99a14fomero.api.RenderingEngine

cc @dominikl @chris-allan

@jburel
Copy link
Member Author

jburel commented May 4, 2022

ome/openmicroscopy#6319 integration tests seem to indicate that the problem is in the backend.

@chris-allan
Copy link
Member

integration tests seem to indicate that the problem is in the backend.

Considering OMERO.web works with session joining and multiple groups for literally everything it does I find that hard to believe.

@jburel
Copy link
Member Author

jburel commented May 4, 2022

okay so we now need to dig into the gateway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants