This RFC outlines the proposal for the implement toggle feature for applying Super User privileges throughout all the User facing services of RDS. This will serve as an alternate way of applying privileges which will also persists throughout the sessions. The purpose of this document his to gather feedback and approval from stakeholders before proceeding with the development.
2. Objective
the objective of this implementation is to:
Give alternate way of applying super user privileges throughout all the services
Give a persistent way to keep those privileges applied during a sessions
Get this adopted for future RDS services
3. Scope
[x] Figuring out all the service where this implementation is required
[x] Informing all the stakeholders about this change so they can adopt this it in future services
[ ] Raising issue regarding this in all the respective repositories where there's is need of this
4. Context
In our the Front End services we do conditional rendering based on if someone is superuser or not. Even if user is superuser he doesn't see those change until he presses 'ALT/OPTION' key, only as a side effect of this key binding all the feature intended for the super user comes into effect.
5. what has already been done ?
The front-end part of toggling the privileges has been already created in regard of this issue,
The toggle sets a key localSuperUserPrivilege in sessionStorage object in browser as either true if the privileges are applied , false if those privileges are revoked
6. Render Flow for superUser
Before
After site wide implementation
7. Conclusion
This is RFC is for adoption and implementing alternate way of appying/revoking super user privileges across all the site of RDS
Your feedback and comments on this RFC are greatly appreciated.
1. Introduction
This RFC outlines the proposal for the implement toggle feature for applying Super User privileges throughout all the User facing services of RDS. This will serve as an alternate way of applying privileges which will also persists throughout the sessions. The purpose of this document his to gather feedback and approval from stakeholders before proceeding with the development.
2. Objective
the objective of this implementation is to:
3. Scope
4. Context
In our the Front End services we do conditional rendering based on if someone is superuser or not. Even if user is superuser he doesn't see those change until he presses 'ALT/OPTION' key, only as a side effect of this key binding all the feature intended for the super user comes into effect.
5. what has already been done ?
localSuperUserPrivilege
insessionStorage
object in browser as eithertrue
if the privileges are applied ,false
if those privileges are revoked6. Render Flow for superUser
Before
After site wide implementation
7. Conclusion
This is RFC is for adoption and implementing alternate way of appying/revoking super user privileges across all the site of RDS
Your feedback and comments on this RFC are greatly appreciated.