openedx / openedx/openedx-authz

How we are going to store Metadata - PolicyMetada

Open
#68 11 comments 0 reactions 2 assignees View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.