Skip to content

Manage attribute checks in addition to RBAC checks #87

@MaferMazu

Description

@MaferMazu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    code healthProactive technical investment via refactorings, removals, etc.enhancementRelates to new features or improvements to existing featuresverawoodReleased in Verawood

    Type

    No type

    Projects

    Status

    In Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions