openedx / openedx/openedx-authz
How we are going to store Metadata - PolicyMetada
Open
@BryanttV is already working on this.
Since Sep 30, 2025.
willow
- Dominant language
- Python
- Stars
- 0
- Forks
- 9
- Avg merge
- 13d 9h
- Merged PRs (30d)
- 9
Description
Problem
The policy file stores rules, assignments, and inheritance, and based on these, the Casbin enforcement makes a decision on whether someone has access or not. But we don't have a direct relation between those rules and our open edx objects (users, scopes, etc); and also we need to store more info regarding the policy to be able to comply with our business requirements (e.g., descriptions for our roles; or know if a rule came by default or it was by another method).
Options
- Having a 1:1 with an extended policy
- Extend fields in Casbin v6/v7 form
...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.