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

Support parameterized RBAC #10

Closed
hsluoyz opened this issue May 21, 2017 · 0 comments
Closed

Support parameterized RBAC #10

hsluoyz opened this issue May 21, 2017 · 0 comments
Assignees

Comments

@hsluoyz
Copy link
Member

hsluoyz commented May 21, 2017

It would be nice to support parameterized RBAC. This would allow the ability to define fine-grained roles and permissions to support things like object level permissions and roles.

Here's a django implementation: https://github.com/dimagi/django-prbac

Hi @F21, Casbin is a new authorization library which supports flexible access control models like ACL, RBAC, ABAC.

In my view, PRBAC is just like ABAC, Attribute-Based Access Control. Because we can view parameters to roles and privileges as the attributes to subjects and objects. Whatever, Casbin is able to support ABAC and RBAC. This is the built-in support, so you don't need to write any code about it. Of course, you can specify your own function to determine the access. Let me know if you have any questions:)

@hsluoyz hsluoyz self-assigned this May 31, 2017
@hsluoyz hsluoyz closed this as completed Dec 8, 2018
shblhy pushed a commit to shblhy/casbin that referenced this issue Jul 3, 2019
shblhy pushed a commit to shblhy/casbin that referenced this issue Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant