Resource Types
Define a catalog of what your application exposes. Resource types appear as a dropdown in the dashboard when creating permissions — no more typos.
How it works
Register resource types for each domain object in your app:
documents, billing, contacts, reports. When creating a permission,
pick from the list instead of typing the resource name.
Resource types are informational — they don't enforce anything at evaluation
time. A permission with resource: "documents" is valid with or without a
documents resource type.
In the dashboard
[Screenshot: Resource Types page with list of registered types and a Create button]
Navigate to Resources. Click New Resource Type, give it an ID and name, and create. The next time you create a permission, it appears in the resource dropdown.