## Files

### Export

- \_schemas
- policies
  - contact.yaml
- tests
- README.md

### 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.

## Principal

Who is performing the action(s)?

Try the API

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

## Resource

What is being accessed?

Resource 1

```json
{
  "id": "123",
  "kind": "contact",
  "policyVersion": "default",
  "attr": {
    "owner": "2232342343"
  }
}
```

## 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

## 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](https://docs.cerbos.dev/?utm_source=playground)
