Schema for module-level permissions assigned to roles.
Each row grants a specific role access to one admin section or feature module. Row present = granted, absent = denied. Owner role bypasses this entirely in code.
Fields
role_uuid- FK to phoenix_kit_user_rolesmodule_key- Identifies the admin section or feature module (e.g., "billing", "users")granted_by- FK to phoenix_kit_users (audit: who granted this permission)inserted_at- When the permission was granted
Summary
Functions
Changeset for creating a role permission.