Remove the SYSTEM_SETTINGS and TENANT_SETTINGS Permissions from Your Roles
For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append.mdto anykestra.io/docs/*URL for plain Markdown.
Available on: Enterprise EditionCloud
Kestra 2.1.0 removes the SYSTEM_SETTINGS and TENANT_SETTINGS permissions from the RBAC model.
These permissions never granted access to anything: no endpoint checked them. Instance and tenant settings are managed by the Instance Owner only, and the Settings page holds each user’s own preferences. The only access lost is viewing the diff of a setting change in the audit logs, which now requires the Instance Owner.
What changed
- Role editor and managed roles: both permissions no longer appear in the role editor, and the managed roles (Viewer, Launcher, Editor, Developer, Admin) no longer carry them.
- Existing roles: no migration is needed. A stored role that still holds either permission is read without it, and the permission disappears from the database the next time the role is saved.
- API: creating or updating a role with either permission is rejected with a
422error, like any unknown or non-assignable permission. - Audit logs: setting changes are still recorded under the
SYSTEM_SETTINGSresource type, past entries included. Only the Instance Owner can view their history and diff. Before 2.1.0,SYSTEM_SETTINGSVIEW, which the Viewer role held, was enough to open the diff.
Update role definitions
Terraform
A kestra_role that still lists either permission fails to apply. Remove the blocks from your configuration:
resource "kestra_role" "operator" { name = "Operator"
resources { type = "FLOW" actions = ["VIEW", "LIST", "EXECUTE"] }
# Remove these blocks resources { type = "SYSTEM_SETTINGS" actions = ["VIEW"] }
resources { type = "TENANT_SETTINGS" actions = ["VIEW"] }}kestractl and the API
kestractl roles create and roles update fail the same way. Remove both permissions from --permission flags and from the files passed to --permissions-file. Scripts that call the role API directly must remove them from their payloads too.
Related
Was this page helpful?