Settings

Theme

Ask HN: CASL or Casbin for Authorization?

1 points by chaidhat 3 months ago · 0 comments · 1 min read

Reader

Hi, I have a 20k LOC backend that I need to implement authorization. We have

1. users, 2. admins, 3. organizations where users belong 4. roles which belong to an organization and users can be assigned to said roles 4. audit forms which are read/write capable for users, roles and admins

What is best for authorization? I am a pretty beginner programmer so I don't know which is best/whether to use RBAC, ReBAC or ABAC.

Thanks!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection