bearded-web / bearded

MIT License
130 stars 44 forks source link

Add support for different authorizations #58

Open m0sth8 opened 9 years ago

m0sth8 commented 9 years ago
hsluoyz commented 7 years ago

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

Related to RBAC, casbin has several advantages:

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

So please consider using casbin when bearded implements authorization. Also let me know if there's any question:)