-
Notifications
You must be signed in to change notification settings - Fork 0
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
Created readonly
user not able to login
#8
Comments
@dingosky This is currently a deliberate choice. ReadOnly users won't have access to any of the editing functions in the Oni service. Note that JWT tokens are only required for editing functions; GET endpoints do not require any authentication ATM. |
I've clarified the 401 response. ReadOnly users that attempt to login will get: {
"message":"Unable to login. Check your username and password and verify that you are an administrator or maintainer",
"responseCode":401
} |
My misunderstanding. So I believe this means the login form should include a "Read Only" option that allows UI access without credentials. I have the Read Only gating factor in the code, just didn't understand that Read Only user wasn't a registered user with a ReadOnly role. |
Create a user with
readonly
role:Response:
Attempt to login to newly created user yields
The text was updated successfully, but these errors were encountered: