We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See https://forum.image.sc/t/clearer-login-error-message-when-user-is-inactive/93936
When an Inactive user tries to login the message is not helpful...
Error: Connection not available, please check your user name and password.
Trying to trace this logic and error handling...
We first get SecurityViolation at https://github.com/ome/omero-py/blob/d76e17aa58ca755d239e9e8005712cd78239c62e/src/omero/gateway/__init__.py#L2185 because user is not in user group.
user
Then try to _createSession() again at https://github.com/ome/omero-py/blob/d76e17aa58ca755d239e9e8005712cd78239c62e/src/omero/gateway/__init__.py#L2203 but this time we don't get a SecurityViolation - instead we get
_createSession()
omero.ClientError Session already active. Create a new omero.client or closeSession()
but this isn't caught anywhere in the BlitzGateway - it is instead caught and ignored at
omero-web/omeroweb/connector.py
Line 180 in bb3ae5c
So the code that calls that at
omero-web/omeroweb/webgateway/views.py
Line 3424 in bb3ae5c
The text was updated successfully, but these errors were encountered:
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/clearer-login-error-message-when-user-is-inactive/93936/2
Sorry, something went wrong.
No branches or pull requests
See https://forum.image.sc/t/clearer-login-error-message-when-user-is-inactive/93936
When an Inactive user tries to login the message is not helpful...
Trying to trace this logic and error handling...
We first get SecurityViolation at https://github.com/ome/omero-py/blob/d76e17aa58ca755d239e9e8005712cd78239c62e/src/omero/gateway/__init__.py#L2185
because user is not in
user
group.Then try to
_createSession()
again at https://github.com/ome/omero-py/blob/d76e17aa58ca755d239e9e8005712cd78239c62e/src/omero/gateway/__init__.py#L2203but this time we don't get a SecurityViolation - instead we get
but this isn't caught anywhere in the BlitzGateway - it is instead caught and ignored at
omero-web/omeroweb/connector.py
Line 180 in bb3ae5c
So the code that calls that at
omero-web/omeroweb/webgateway/views.py
Line 3424 in bb3ae5c
The text was updated successfully, but these errors were encountered: