1
0
mirror of https://github.com/actix/examples synced 2024-11-30 17:14:35 +01:00
examples/casbin/rbac/rbac_policy.csv
Chojan Shang 84b364544b
Add a basic casbin example for actix-web. (#264)
* Add the casbin example for actix-web.

* Update for clear description.
2020-03-03 15:13:43 +09:00

5 lines
121 B
Plaintext

p, alice, data1, read
p, bob, data2, write
p, data2_admin, data2, read
p, data2_admin, data2, write
g, alice, data2_admin