You may need to stop some users from using particular features. A common mistake is to open a predefined role (for example user) and remove capabilities from it.
In Splunk Cloud Platform this can cause problems:
Splunk documentation states that the sc_admin role does not have enough permission to restore some of the capabilities removed from predefined roles.
====
Do not edit any predefined roles to remove capabilities from them. The sc_admin role does not have enough permission to restore some of the capabilities you remove. Instead of deleting or editing the predefined roles, create custom roles that inherit from the predefined roles, and use and edit the custom roles as you need.
====
In Splunk Web, open Settings > Roles and edit the role that should hold the capability. Check whether the capability is listed. If it is missing, continue below.
Check the role's inheritance in the Inheritance tab. Identify whether it inherits from a predefined role that was edited.
Review recent changes to predefined roles. Search the audit logs, if available:
index=_audit action=edit_roles OR action=edit_role
| table _time user action info object
Compare the capabilities in the affected environment with a healthy one:
| rest /services/authorization/roles splunk_server=local
| table title capabilities imported_capabilities imported_roles
You have this issue if a predefined role was edited to remove capabilities, and those capabilities are now missing or not assignable on other roles.
Prevention: use custom roles
1. Do not edit the predefined roles to remove capabilities from them.
2. Go to **Settings > Roles > New Role**.
3. Name the role (lowercase only, no spaces, colons or forward slashes).
4. Under **Inheritance**, inherit from the predefined role closest to what the users need. Note that you cannot deselect capabilities that come from an inherited role.
5. If you must exclude a capability, inherit from a role that does not carry it. Then grant only the capabilities that the users need, directly on the custom role.
6. Assign the affected users, or their SAML or LDAP group mappings, to the custom role instead of the predefined role.
7. Test with a non-production user before rolling the change out.
If a predefined role has already been edited
1. Use an account whose role can edit roles to re-add the capability. You can use Settings > Roles or the ACS roles endpoints.
2. If the capability is not visible or cannot be restored, open a Splunk Support case with the role name and the time of the change.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Nov-2026
|
Initial Release |