Skip to main content

Access policies

Access policies are the TaruviBase policy engine's rules for deciding whether an authenticated caller may perform an action on a resource. Authentication proves who the caller is; authorization evaluates the caller, resource, action, and allow/deny decision.

Start with access decisions, then choose a Console workflow for roles, policies, conditions, and decision testing. Check access from code with the Python SDK (client.policy), the JavaScript SDK (Policy), or the Refine accessControlProvider.

Choose a task#

TaskStart hereExpected outcome
Test your first access decisionVerify an access decisionOne allowed and one denied decision
Create a reusable roleCreate app rolesA role ready for an access policy
Give a user a roleAssign user accessA site user receives the intended app membership
Verify automatic synchronizationAutomatic policiesBoth policy levels are present and tested
Change a policy definitionManage policies in the ConsoleAn updated policy
Restrict rowsUse Database policy filtersServer-side policy filtering
Validate decisions before releaseTest decisionsRecorded ALLOW and DENY cases
Check a caller in codeCheck access at runtime, the JavaScript Policy client, or Refine access controlA caller-bound decision
Resolve a failureTroubleshootingA reconciled policy or a stopped release