Cerbos Playground - Prototype, test and share policies

Files

Export

Try out Cerbos Hub - A complete authorization management system for authoring, testing, and deploying policy

README

This playground policy is created for the express-jwt-cerbos demo at https://github.com/cerbos/express-jwt-cerbos

Feel free to tweak it around.

README

OutputsProblemsTests

No policy outputs defined. Policies can return context along with the decisions - read more in the documentation..

Principal

Who is performing the action(s)?

Try the API

john - admin

{
  "id":"1234567890",
  "roles":[
    "admin"
  ],
  "attr":{}
}

Resource

What is being accessed?

Resource 1

{
  "id":"123",
  "kind":"contact",
  "policyVersion":"default",
  "attr":{}
}

Actions

List of actions the principal is attempting to do with the resource

contact Actions Result
Allowed
Allowed
Allowed
Allowed
Allowed

Aux Data

Additional request context

Request

The HTTP request payload to Cerbos PDP

Try the API

Response

The HTTP response from Cerbos PDP

Welcome to the Cerbos Playground

This environment allows your to build, test and debug authorization policies in realtime and share examples with your team.

Full documentation can be found at docs.cerbos.dev