Editorial question12.8K views4,734 votes0 answers998 following
AI-generatedPermissionDenied error when adding role mid-session in FaunaDB
Goal Validate whether FaunaDB evaluates role permissions dynamically during a session or only at the start of a query. The test involves creating a user with a limited role, performing a forbidden operation, then adding an additional role to the same session and retrying the operation. Constraints & Uncertainties Use test credentials to avoid accidental