aiohttp-jwt icon indicating copy to clipboard operation
aiohttp-jwt copied to clipboard

Advanced permission control

Open hzlmn opened this issue 7 years ago • 2 comments

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

Or(And('read', 'write'), 'admin') 

hzlmn avatar Mar 23 '18 13:03 hzlmn

Don't you think that this is in the scope of aiohttp-security?

gbarbaten avatar Dec 27 '18 09:12 gbarbaten

Aiohttp-security will drop decorators soon. Plus they have strong opinion about such combined permissions. And my usecase is lean microservice so i do not want another library for basic permission control.

hzlmn avatar Dec 27 '18 10:12 hzlmn