aio-libs / aio-libs/aiohttp-security

Why has_permission decorator is being deprecated ?

Offen
#338 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
240
Forks
70
Ø Merge
10 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.