$9.99
Complete role-based access control system with hierarchical roles, granular permissions, resource-level policies, and an enforcement engine. Supports role inheritance, wildcard permissions, deny-overrides, and audit logging. Runs on Python 3.10+ stdlib only.
# Check if a user has permission
python main.py check --user alice --permission posts:write
# List all roles and their permissions
python main.py roles --list
# Assign a role to a user
python main.py assign --user bob --role editor