s-kostyuk / everpl

The Everthing Platfrom source code
https://everpl.readthedocs.io/
MIT License
0 stars 1 forks source link

Implement Authentication aspect (in a form of context manager) #65

Closed s-kostyuk closed 6 years ago

s-kostyuk commented 6 years ago

Implement an Aspect that will control Authorization in the system. I.e. will check if the current user is able to (is authorized to) execute a requested action.

Use Python's Context Managers and a concept of Ambient Context for passing of authentication tokens, use Interceptor pattern as an implementation detail for controlling of calls to Services.

Blocked by #63

s-kostyuk commented 6 years ago

Postponed. Current issue: how to pass a requested action to authorization checker