1.可以存储具体某个用户能干什么,比如 alice , obj, read 【winyh 用户 可以 读取 obj 对象】
2.可以存储某个角色能干什么,比如 admin, obj, read 【admin 角色可以读取 obj 对象】
3.可以存储某个资源能干什么,比如
alice 可以是用户、资源或角色。Casbin 只是将其识别为一个字符串。
Casbin 只存储用户角色的映射关系。存储RBAC方案中 用户和角色之间的映射关系。