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

Casbin ownership check? #232

Open
sixtay opened this issue Jan 1, 2022 · 0 comments
Open

Casbin ownership check? #232

sixtay opened this issue Jan 1, 2022 · 0 comments

Comments

@sixtay
Copy link

sixtay commented Jan 1, 2022

I'm curious about your use of the 'owner' role in the project. Scouring the codebase I have struggled to understand how you are validating the user's ownership of the resources.
For example, here I'd imagine ownership validation occurs and the policy injected into casbin by the resource decorator would matter. But I can't actually find anywhere where it's done...not even in the change-subscription handler.

Am I missing something? Some guidance would be appreciated.

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

1 participant