Skip to content
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

Research | whole team | Role based access control for part of the component #55

Open
victorjeman opened this issue Sep 15, 2022 · 0 comments
Assignees

Comments

@victorjeman
Copy link
Collaborator

victorjeman commented Sep 15, 2022

A idee foarte interesanta care merita explorata.
Cum arata parti specifice din UI pe baza rolului utilizatorului.

Cand e vorba de pagini, e oarecum simplu pentru ca facem acest lucru la nivel de rute si pur si simplu un utilizator nu o sa poata vedea un anumit set de rute(pagini).

Cum facem la nivel de UI cand un admin si un user vad acelasi card spre exemplu doar ca admin-ul mai vede un button in plus in acel card?

Am cautat un pic pe net niste tutoriale si scopul acestui task e sa gasim si mai multe resurse despre care e best practice cand vine vorba de asta.

Task-ul asta e indicat pentru toti participantii.

https://selleo.com/til/posts/jseiykz9fx-tips-for-implementing-rbac-in-react
https://levelup.gitconnected.com/access-control-in-a-react-ui-71f1df60f354
https://medium.com/geekculture/how-to-conditionally-render-react-ui-based-on-user-permissions-7b9a1c73ffe2
https://www.permify.co/opens-source/react-roles (de vazut codul sursaa, nu pare complex)
https://isamatov.com/react-permissions-and-roles/

Sa fie subiect de discutie pentru urmatoare intalnire

@victorjeman victorjeman changed the title Research | Role based access control Research | Role based access control for part of the component Sep 15, 2022
@victorjeman victorjeman changed the title Research | Role based access control for part of the component Research | whole team | Role based access control for part of the component Sep 15, 2022
@victorjeman victorjeman moved this from TODO to IN PROGRESS in academy-hove-app Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: IN PROGRESS
Development

No branches or pull requests

5 participants