vpereira / nrped

nrpe client and server implemented in go
8 stars 3 forks source link

implement access list control #7

Open vpereira opened 10 years ago

vpereira commented 10 years ago

missing feature

hsluoyz commented 7 years ago

Hi, I'm the author of casbin. It is an authorization library that supports models like ACL, 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.

And you can even customize your own access control model, for example, mix RBAC and ABAC together by using roles and attributes at the same time. It's very flexible.

So please consider using casbin when nrped implements access control security. Also let me know if there's any question :)