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

[Question]Please help on defining and designing casbin model and policy for following use case : #1296

Open
lm-mehul opened this issue Aug 16, 2023 · 1 comment

Comments

@lm-mehul
Copy link

I want to use casbin for following usecase :
Consider a website having products. A user adds a product. Than he can share access of this product with other user. I don't want to identify each product as "site.com/products/:product_id", as there is no API route for the same. So which type of policy to use (ABAC or RBAC) and how to use it ? Can anyone help ?

@casbin-bot
Copy link
Member

@tangyang9464 @JalinWang

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

No branches or pull requests

3 participants