goiardi icon indicating copy to clipboard operation
goiardi copied to clipboard

RBAC

Open ctdk opened this issue 10 years ago • 2 comments

ctdk avatar May 01 '14 19:05 ctdk

:+1:

bramswenson avatar Mar 27 '15 14:03 bramswenson

That looks really interesting. Coincidentally I was gearing up to redo permissions and RBAC in the 1.0.0-dev branch to use contexts anyway, so assuming it fits in well it would be super helpful there. Thanks for bringing this to my attention.

On Fri, Apr 21, 2017 at 3:23 AM, Yang Luo [email protected] wrote:

Hi, I'm the author of casbin https://github.com/hsluoyz/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 goiardi implements RBAC security. Also let me know if there's any question:)

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ctdk/goiardi/issues/10#issuecomment-296154481, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFF6_k4heqglDG_2xNmtqx94GVWUBaVks5ryIOPgaJpZM4B3O6p .

ctdk avatar Apr 21 '17 16:04 ctdk