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

grant permissions for every resources ? #103

Open
LhonRafaat opened this issue Jan 30, 2022 · 1 comment
Open

grant permissions for every resources ? #103

LhonRafaat opened this issue Jan 30, 2022 · 1 comment

Comments

@LhonRafaat
Copy link

Hi i'm trying to grant all CRUD permissions to my admin user for every resource I thought using *

roles
.grant(AppRoles.ADMIN)
  .createAny("*")
  .readAny("*")
  .updateAny("*")
  .deleteAny("*")


would work , but it throws an error, "cannot use reserved name", How can I implement this so I don't write down all the resources ?

thanks,

@AienTech
Copy link

@LhonRafaat
Any update on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants