-
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
Adding role-based authentication #551
Comments
Have some questions for this work:
My guess is we want Ualberta login via SAML (but maybe the MVP just has a simple authentication via our own sign in page), we don't have a requirement for roles, we probably require some UI screens in the admin area to manage our users. Such as being able to view users, invite users, disable users, etc. Later on this can be expanded to offer audit trials of user actions etc. But looking for feedback on the requirements for this story. Have any thoughts about this @nnunn? |
Sorry it's taken me so long to reply! Roles: A generic Admin role is sufficient. I would prefer SAML with ualberta login if possible, and yes we would need some UI screens to approve and manage users. I'm not sure if this is in scope, but there has been some interest in having some areas of the UAL website (specifically staffhub) password protected so that only staff can access them. |
Thanks for the feedback and requirements.
Sounds like password protecting specific pages is more than doable. Sounds like you can put them under a certain path and then have that path requires login: https://github.com/comfy/comfortable-mexican-sofa/wiki/HowTo:-Password-protecting-pages So could have a path like anything under
Awesome! My plan for this since I only have a couple of weeks to work on this (from now until middle of August, I'm planning on fixing up the CSS/JS assets and Webpacker migration work. Then from middle of August until end of August I plan to work on this Authentication project) will be the following:
Then we need to figure out how to provision admins? Initial admins are done inside Rails console? Then after that are they invited by an existing admin (needs email)? Or do they sign up and an admin approves them? Or another way? |
Currently, we're using basic authentication with a single username and password.
library-cms/app/controllers/profiles_controller.rb
Line 37 in 712fdaa
We would prefer having role-based authentication where we can audit changes and manage access.
The text was updated successfully, but these errors were encountered: