briandowns / aion

WIP - Job and Task Scheduler Utilizing Cron Syntax
4 stars 1 forks source link

Integrate Authentication System #6

Open briandowns opened 8 years ago

briandowns commented 8 years ago

https://github.com/mikespook/gorbac

briandowns commented 8 years ago

http://jwt.io/

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.

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

briandowns commented 7 years ago

Thank you very much for the information!