usePermission
The ZopNight frontend uses a single hook, usePermission(), to decide whether to render an action. The hook reads the policy set encoded in the user's session token, checks against a required (entity, action) pair, and returns a boolean. UI components condition their render on the boolean.
1 lesson reference ← Back to glossary
Where it appears
Read the term in context.
Each row is a lesson that uses this term. The lesson where it first appears is the canonical definition.