Tier-neutral permission catalogue with constants, implication map, retired-permission set, and pure expansion helpers for authorization.
# Source: https://github.com/jentic/jentic-one | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works # Provided via justclaw.it.com; keep this notice with the code. """Static permission catalogue and implication map (tier-neutral). Home of the permission *data* — the permission name constants, the `Permission` dataclass, the `ALL_PERMISSIONS` catalogue, the derived `IMPLICATION_MAP`, and the pure `compute_effective` / `compute_implies_transitive` expansion helpers. It lives in ``shared/auth`` (not ``admin``) so any tier can expand grants through the implication map without a layering inversion: ``shared`` callers (``shared/web/deps.py``, ``shared/web/permission_catalog_payload.py``, ``shared/web/endpoint_permissions.py``, ``shared/auth/permissions.p ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key