hzlmn / hzlmn/aiohttp-jwt

Advanced permission control

Open
#13 2 comments 0 reactions 0 assignees View on GitHub
enhancement thinking
Dominant language
Python
Stars
78
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Would be nice to add support of advanced permission checking to `check_permissions` decorator.
Need to think about better way to do it. In general we need to support scopes queries like
```python
Or(And('read', 'write'), 'admin')
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the `check_permissions` decorator and how it currently evaluates permissions. Clarify the intended scope-expression semantics, including `Or(And('read', 'write'), 'admin')`, before identifying the affected implementation and tests. Done means advanced permission queries are supported with agreed behavior and covered by tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.