Playground
Policies
Write one or more SPDL statements
Authorization request
Fill in the request — no JSON required
03Authorization result
Select Evaluate to check whether this request is allowed.
Inspect engine response JSON
New to SPDL?
Write a policy
grant user alice read bookUse effect, principal type, principal, action and resource. Each line is a statement; deny explicitly denies access.
Add a condition
grant user alice read book if clearance >= 3Add an attribute and select its type. Use multiple values for an array. Load the Conditions example to try it.
Read the result
true — the request is allowed.
false — access is denied or no grant applies.
Input and execution errors are shown separately, never as false.
Browser sandbox One service · up to 500 statements · 256 KiB total input · 5-second evaluation deadline.External custom functions and token assertion are not supported. Enter test identities under Subject.
Powered by Speedle · Go + WebAssembly · Engine & license notices · Source & build instructions