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

[core] Support RBAC in AppProvider #4120

Open
bharatkashyap opened this issue Sep 20, 2024 · 0 comments · May be fixed by #4490
Open

[core] Support RBAC in AppProvider #4120

bharatkashyap opened this issue Sep 20, 2024 · 0 comments · May be fixed by #4490
Labels
linked in docs The issue is linked in the docs, so completely skew the upvotes new feature New feature or request scope: toolpad-core Abbreviated to "core" waiting for 👍 Waiting for upvotes

Comments

@bharatkashyap
Copy link
Member

bharatkashyap commented Sep 20, 2024

  • Add roles as a supported key in the navigation object
  • Integrate with Auth.js RBAC to get the signed in user's role
  • The navigation drawer will render links to pages for which the signed in user's role has access
  • Render a 404 on routes for which the user doesn't have access

Feedback received
What about permissions

Benchmarks

Search keywords:

@bharatkashyap bharatkashyap added new feature New feature or request scope: toolpad-core Abbreviated to "core" labels Sep 20, 2024
@bharatkashyap bharatkashyap changed the title [ core] Support RBAC in AppProvider [core] Support RBAC in AppProvider Sep 20, 2024
@prakhargupta1 prakhargupta1 added the linked in docs The issue is linked in the docs, so completely skew the upvotes label Nov 4, 2024
@oliviertassinari oliviertassinari added the waiting for 👍 Waiting for upvotes label Nov 4, 2024
@bharatkashyap bharatkashyap linked a pull request Nov 28, 2024 that will close this issue
@bharatkashyap bharatkashyap moved this from Planned to In progress in MUI Toolpad public roadmap Nov 29, 2024
@prakhargupta1 prakhargupta1 moved this from In progress to Backlog in MUI Toolpad public roadmap Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linked in docs The issue is linked in the docs, so completely skew the upvotes new feature New feature or request scope: toolpad-core Abbreviated to "core" waiting for 👍 Waiting for upvotes
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants