openedx / openedx/openedx-authz

Enforcer usage patterns (reads vs writes)

Open
#157 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

performance
Dominant language
Python
Stars
0
Forks
9
Avg merge
13d 9h
Merged PRs (30d)
9

Description

Description

The sync enforcer is currently used for both read operations (permission checks) and write operations (policy changes). This may introduce unnecessary overhead during high-volume reads, but we do not have a clear separation between the two paths.

This issue tracks:

  • Reviewing where and how the enforcer is used in read paths and write paths.
  • Determining whether separating these paths would improve performance or reduce overhead. This is only a theory, we'd have to go deep into casbin to understand whether this would actually have an impact.

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.

Research direction

Trace the sync enforcer's read and write call sites across the repository, since the issue names no specific files or tests. First map permission checks versus policy changes, then determine whether separating the paths measurably reduces overhead and document the conclusion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.