-
Hey folks. I came here with a question about authorization in AdonisJS v5. In Laravel we have Gate and @can tag in Blade files. How to resolve this in AdonisJS? For example, I wanna make Admin who can see extra links in menu like Create new post or something like that. Could you tell me how to do that? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Any ideas? What is the best way for make Admin role and give him permissions to the path? |
Beta Was this translation helpful? Give feedback.
-
There are a number of packages that haven't yet been migrated over to v5, including Adonis Guard and Adonis ACL. There are two options:
|
Beta Was this translation helpful? Give feedback.
There are a number of packages that haven't yet been migrated over to v5, including Adonis Guard and Adonis ACL.
There are two options: