admin-rights-0.0.1
توضیحات
This is a function that takes an array of users as an argument and checks if the role is an admin
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | admin-rights-0.0.1 |
| نام | admin-rights |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Harun Gachanja |
| ایمیل نویسنده | arrotechdesign@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/admin-rights/ |
| مجوز | MIT |
## Admin Protected Route
This is a function that takes an array of users as an argument and checks if the role is an admin.
If that isn't the case, the function returns an unauthorized status code and message.
Otherwise, the user is permitted to use the function.
نحوه نصب
نصب پکیج whl admin-rights-0.0.1:
pip install admin-rights-0.0.1.whl
نصب پکیج tar.gz admin-rights-0.0.1:
pip install admin-rights-0.0.1.tar.gz