Permissions reference
What each action needs.
Reports
| To | Role | Folder | Model |
|---|---|---|---|
| Open, run, export, print | Any | View | Use |
| Edit, schedule, send a run | Editor | Edit | Use |
| Create | Editor | Edit on the target | Use |
| Duplicate | Editor | View of the original, edit on the target | Use |
| Move | Editor | Edit on both | Use |
| Cancel a run | Whoever started it, or anyone who can edit |
Admins can do all of it. Your own My reports counts as edit, if your role allows editing.
Folders
| To | Needs |
|---|---|
| Create, rename or delete a top-level folder | Admin |
| Move a shared folder, or change its grants | Admin |
| Add a subfolder | Editor, with edit on the folder |
| Rename or delete a subfolder | Editor, with edit on its parent |
Folders nest up to ten deep. Only an empty one can be deleted.
Models and sources
| To | Needs |
|---|---|
| See a model, or build on it | Use |
| See a source | Use of a model that has it |
| Create, edit, delete, grant, secure rows or columns | Admin |
| Upload, rescan, delete a source | Admin |
A model can’t be deleted while reports use it, and an uploaded source can’t while a model version does.
Administration
Users, groups, user attributes, destinations, the audit log and other people’s tokens are for admins. Editors see destination names so they can choose one.
Answers from the API
| Answer | When |
|---|---|
| 401 | Not signed in, or the token is bad |
| 403 | You can see it and may not do that, or your role isn’t enough. Also password_change_required, and a token without the scope, or on a signed-in route that takes none |
| 404 | It doesn’t exist or you can’t see it. The two look the same |
| 409 | Someone else changed it first, or it is in use. Also source_not_ready, and attribute_mapped when setting values that come from single sign-on |
| 429 | rate_limited: too many attempts to sign in or link single sign-on |