I want to allow the users to modify settings (such as anomaly configuration) on a single service/entity level, without granting them the global settings on environment or cluster level for all services as global configuration.
I first tried the following:
ALLOW settings:objects:read, settings:objects:write
WHERE settings:scope startsWith 'SERVICE-';
The above policy statement does not seem to work as they do not see the setting option on the service/entity.
Then I tried the following:
ALLOW settings:objects:read, settings:objects:write
WHERE settings:schemaId = "builtin:anomaly-detection.services”;
The above policy statement does work on the service/entity level, but at the same time they also see the global environment settings option which I do not want.
How can I have a policy statement that allow the user to only modify the settings on service and entity level, but not globally? Thanks in advance!