Situation
In the current library's permission system, we use Bridgekeeper to implement rules that are checked at enforcement points to make decisions. Those rules are a combination of role checks with attribute/context checks.
Our current matcher only supports explicit role assignment (with the permissions of the role and with inheritance of roles).
We need a way to perform attribute/context checks at our enforcement points, ideally using Casbin.
Examples of usage
CAN_CREATE_CONTENT_LIBRARY
Conditions: global_staff or course_creator.
CAN_VIEW_THIS_CONTENT_LIBRARY
Conditions: global staff, attribute ‘allow_public_read’, explicit read permissions (admin, author, read).
References
Situation
In the current library's permission system, we use Bridgekeeper to implement rules that are checked at enforcement points to make decisions. Those rules are a combination of role checks with attribute/context checks.
Our current matcher only supports explicit role assignment (with the permissions of the role and with inheritance of roles).
We need a way to perform attribute/context checks at our enforcement points, ideally using Casbin.
Examples of usage
CAN_CREATE_CONTENT_LIBRARY
Conditions: global_staff or course_creator.
CAN_VIEW_THIS_CONTENT_LIBRARY
Conditions: global staff, attribute ‘allow_public_read’, explicit read permissions (admin, author, read).
References