aio-libs / aio-libs/aiohttp-security

Why has_permission decorator is being deprecated ?

Open
#338 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
240
Forks
70
Avg merge
10m
Merged PRs (30d)
3

Description

Checking on the code, the decorator `has_permission` option is being deprecated in favor of `check_permission` which has no decorator option. Why?
My best guess is is that it should not be the responsibility of the package to implement such feature, but I could not find the documented reason.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.