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

Role based access control #11

Open
bketelsen opened this issue May 24, 2015 · 3 comments
Open

Role based access control #11

bketelsen opened this issue May 24, 2015 · 3 comments

Comments

@bketelsen
Copy link
Contributor

Openshift/Origin has a nice policy system based on JSON files/Go structs, there are also several pre-built packages for PostgreSQL based RBAC in Go.

@satoshi75nakamoto
Copy link

@bketelsen I typically like to use: https://github.com/mikespook/gorbac these days.

@bketelsen
Copy link
Contributor Author

excellent.

@hsluoyz
Copy link

hsluoyz commented Apr 19, 2017

Hi @preillyme @bketelsen , I'm the author of casbin. It is an authorization library that supports models like MAC, RBAC, ABAC.

Compared to GoRBAC, casbin has several advantages:

  1. support resource roles, so users have their roles and resource have their roles too. role = group here.
  2. the permission assignments (or policy in casbin's language) can be persisted in files or database.

Let me know if encountered any issue with casbin:)

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

3 participants