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

Improve Role Based Access Control Page in Guides Section #12462

Open
fbryo21 opened this issue Jan 3, 2025 · 0 comments
Open

Improve Role Based Access Control Page in Guides Section #12462

fbryo21 opened this issue Jan 3, 2025 · 0 comments
Labels
triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@fbryo21
Copy link

fbryo21 commented Jan 3, 2025

What is the improvement or update you wish to see?

The code must be explained more detail, in the Getting a role part.

The code:
return { role: profile.role ?? "user", ... }
(The ... part shows an error said "Expression Expected)

Is there any context that might help us understand?

Give more details explanation about Role Based Access Control, especially using with database (ex: MongoDb)

Does the docs page already exist? Please link to it.

https://authjs.dev/guides/role-based-access-control

@fbryo21 fbryo21 added the triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant