6dccf494f8
cleanup permit policies and correct documentation * docs * policy cleanup * refactor * Merge remote-tracking branch 'origin/feature/permit-policy-cleanup' into feature/permit-policy-cleanup * docs and edits
9 lines
229 B
Bash
Executable File
9 lines
229 B
Bash
Executable File
# Test a policy decision
|
|
curl -X POST http://localhost:8181/v1/data/example/allow \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"input": {
|
|
"user": {"role": "admin"},
|
|
"action": "read"
|
|
}
|
|
}' |