aio-libs / aio-libs/aiohttp-security

Why has_permission decorator is being deprecated ?

Đang mở
#338 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
240
Fork
70
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
3

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.