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

Is there a way to use different policy for API #149

Open
deepakmahakale opened this issue Dec 6, 2022 · 1 comment
Open

Is there a way to use different policy for API #149

deepakmahakale opened this issue Dec 6, 2022 · 1 comment

Comments

@deepakmahakale
Copy link

We are already using policies for our app

  • UserPolicy
  • AccountPolicy

Is there a way to use separate policies for the API resources

  • API/UserPolicy
  • API/AccountPolicy
@valscion
Copy link
Member

valscion commented Dec 7, 2022

I don't know, maybe? At least overriding the authorizer is possible, so it might be possible to achieve what you're looking for by using a custom authorizer.

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

No branches or pull requests

2 participants