## Files

Export

- \_schemas

- policies

- account.yaml
  
  - expense.yaml
  
  - payment.yaml
  
  - report.yaml
- tests

- testdata

- principals.yaml

- resources.yaml
  - account\_test.yaml

- expense\_test.yaml

- payment\_test.yaml

- report\_test.yaml
- README.md

[Try out Cerbos Hub - A complete authorization management system for authoring, testing, and deploying policy](/content/product-cerbos-hub?utm_campaign=hub_launch&utm_source=blog&utm_medium=text&utm_content=corner%20of%20editor&utm_term=/index.html)

README.md

The policies in this playground instance are specifically built for the [`How to adopt Cerbos`](/content/blog/how-to-adopt-cerbos/index.html) article

# Welcome to the playground!

This environment lets you prototype, test, and experiment with Cerbos policies right in your browser.

## Policy files

You can add new policies on the left.

For syntax of the policy files, please see [the documentation](https://docs.cerbos.dev/cerbos/latest/index.html).

## Testing actions for principals and resources

You can add multiple `principal` and `resource` definitions on the right. At any point, you can see whether the listed `actions` are allowed or disallowed on the right.

Alternatively, `Check all` buttons allow bulk checks for all the principals or resources.

### Outputs

No policy outputs defined. Policies can return context along with the decisions - [read more in the documentation.](https://docs.cerbos.dev/cerbos/latest/policies/outputs.html).

## Principal

Who is performing the action(s)?

### Try the API

Ivan - IT admin

```json
{
"id":"123",
"roles":[

"IT_ADMIN"

],
"attr":{}
}
```

## Resource

What is being accessed?

### Account

```json
{
"id":"a1234",
"kind":"account",
"attr":{}
}
```

## Actions

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

| `account` Actions | Result |
| --- | --- |
|   | 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 you to build, test and debug authorization policies in real-time and share examples with your team.

Full documentation can be found at [docs.cerbos.dev](https://docs.cerbos.dev/?utm_source=playground)
