🔐 robovai-rbac
Enterprise Dynamic Role-Based Access Control (RBAC) & Authorization Middleware for Python Web Services.
📌 Features
- 🔐 Dynamic Permission Evaluation: Grants/revokes permissions without redeploying code.
- 🎟️ JWT Token Support: Built-in verification & payload decoding.
- ⚡ Zero-Overhead Decorators: Clean
@require_permission('admin:write')syntax for Flask & FastAPI.
⚡ Quick Start
pip install robovai-rbac
Usage Example:
from robovai_rbac import RBACManager, require_permission
rbac = RBACManager(secret_key="your-jwt-secret")
# Register roles and permissions
rbac.add_role("admin", permissions=["users:read", "users:write", "analytics:view"])
rbac.add_role("viewer", permissions=["users:read"])
# Check permission
has_access = rbac.check_permission(role="viewer", permission="users:write")
print(f"Can viewer write? {has_access}") # False
👤 Author
Mohamed Shaban (محمد شعبان العتماني) — Applied AI Engineer
🌐 Website: msalatmani.org | 📧 Email: msalatmani@gmail.com
Metadata
Release files for robovai-rbac 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robovai_rbac-0.1.0.tar.gz | 3.0 kB | Without provenance | Details for robovai_rbac-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robovai_rbac-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for robovai_rbac-0.1.0-py3-none-any.whl |
Total release size: 6.2 kB
Release files / robovai_rbac-0.1.0.tar.gz
| Download URL | robovai_rbac-0.1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2b5fe1581dd5a8af8610d57d74364dbae41e861191d2017df88ce5b3ac84943
|
|
BLAKE2b-256 checksum How to use checksums |
f236e758158f1531ef015ec23826b49e2c0f3ae366aaec3a524e0baaea26f4a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / robovai_rbac-0.1.0-py3-none-any.whl
| Download URL | robovai_rbac-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
260c79c5a723e994094f310de9b2d812453abdaadf84ff08696aedcd9673f850
|
|
BLAKE2b-256 checksum How to use checksums |
0720aaf5000485e0383018db27a303b7cf9b9697d266e789afcc9e5879351fdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for robovai-rbac 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.