Add production-ready role based access control to your application in minutes with tooling loved by developers and a suite of low/no-code tools for non-technical teammates.
1warrant create permission:read:users2warrant create permission:write:users3
4warrant create role:employee5warrant assign role:employee member permission:read:users6
7warrant create role:hr8warrant assign role:hr member permission:write:users9warrant assign role:hr member role:employee10
11warrant assign user:toby member role:hr12warrant check user:toby member permission:invite:users13
14
15
16
17
18
19
20
21
22
23
24
25
1$ warrant create role:hr2
3$ warrant assign role:hr member \4 permission:read:users \5 [tenant=="dunder-mifflin"]6
7$ warrant assign role:hr member \8 permission:write:users \9 [tenant=="dunder-mifflin"]10
11$ warrant assign user:toby member \12 role:hr
A deep-dive into Role Based Access Control, covering what it is, when/why to use it, and its pros/cons.
A simple guide covering the basics of building a role based access control system using JavaScript and SQL.
An article covering Warrant's built-in implied roles and permissions, an integral feature in any RBAC system.