Skip to content

Add permissions and write policy

Open Permissions to describe the things your own apps protect and the actions on them. Choose Create and fill in a name. The key fills itself in from the name.

The Permissions list

The form for a new resource type

Use the row’s … menu to change or delete one. What you define here can then be picked inside a role.

Open Policy to decide which requests are allowed. Rules are checked from the top. The first rule that matches decides the request, and nothing below it is looked at.

A draft policy with one rule

When no rule matches says what happens to a request none of the rules claimed. Refusing by default is the safer choice: anything you did not explicitly allow is turned away.

A policy starts as a draft. Activating it makes its rules start deciding real requests straight away. Taking a version out of service leaves only each route’s own policy deciding traffic until another version goes live.