Permission system done right.
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- authorization
Research direction
No file, test, or entry point is named. Start by locating the context-contract, nested-story, permission-validation, and Delegate implementations. Done should mean that assigning a user in a wrapper story runs the permission validators from nested stories and fails early, including delegated Celery tasks.
Written by the indexing model from the issue text.
Description
Permission is an ideal example of the context contract additional rules and composition.
We have a nested story with a more strict permission rule than the wrapper story.
user has its place in each context contract and we attach different permission validation to it in each contract.
When the user will be assigned in the wrapper story, we'll run all its permission validators from all nested stories. So we'll fail early.
Some nested stories will run in the Celery task because of the Delegate feature. We can fail that early.
- Dominant language
- HTML
- Stars
- 10
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from dry-python/dry-python.github.io
-
blog
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
blog
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Add rich preview. Opendesign feature
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
blog
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
blog
Difficulty 5/5 Over a week Newbie friendliness 15/100
All issues in dry-python/dry-python.github.io
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·
-
security severity:low track:open-source
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
[addtool] DeepZero Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gwen001/offsectools_www#2055 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
WalletConnect/actions#112 ·