-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Introduce read-only users in jambonz webapp #371
Comments
Design: a. Database changes:
b. Middleware changes
c. Login Integration
d. User Management
e. Webapp change
f. Summary
### Note: The upgrade-jambonz-db needs to be executed for existing installations without which the webapp application and api-server will fail |
created linked issue: jambonz/jambonz-webapp#477 As far as implementation, I don't think we need to add a new column actually. We already have a "permissions" table that is linked to each user, with these possible values
I believe when a user logs in that information is returned in the POST /login request. Let's use the VIEW_ONLY permission to indicate this user should not be allowed to perform any updates from the webapp. I don't know that the current code does much with that data, but it was put there originally in anticipation of this readonly user feature actually. |
Currently all users created can perform CRUD operations based on the scope, it will be useful to introduce read-only users who can view the configurations but cannot create/modify/delete.
The text was updated successfully, but these errors were encountered: