# Settings 2.0 - Policy to set key user actions

**URL:** <https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196>\
**Category:** Open Q&A\
**Tags:** user-management, user-actions\
**Created:** [August 14, 2023, 11:36am UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196 "2023-08-14T11:36:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PedroDeodato](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pedrodeodato/32/32284_2.png) [@PedroDeodato](https://community.dynatrace.com/u/PedroDeodato)\
**Post date:** [August 14, 2023, 11:36am UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/1 "2023-08-14T11:36:04Z")

</div>

I was trying to create a policy so that I can give a user the permission to set Key User Actions, without giving them permissions to Edit the whole application, nor giving them access to the Environment’s whole Settings page (i.e., I do not want to put them in the Monitoring Admin user group).

This user just needs to be able to set a User Action as key (and remove it from key, afterwards, if needed).

I notice that something similar can be done at the Services level: one can be given the permission to Write on the “Key Requests” list, and so set requests as Key…

As sugested on the “Key Requests” settings page on a given service:

 ![PedroDeodato_0-1692012385509.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/207cdd6581eb6cf9befa1000eaf35e33492aefa8.png)

The policy should look something like:

| ALLOW settings:objects:read, settings:objects:write, settings:schemas:read  
WHERE settings:schemaId = "builtin:settings.subscriptions.service"; |

Is something similar available to Key User Actions?  
I know that this sort of page does not exist at the Application level, but I was wondering if the permission to set a User Action as Key (which does not require access to any settings page, just the button on the User Action page) could be granted via any existing policy?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [August 14, 2023, 11:45am UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/2 "2023-08-14T11:45:39Z")

</div>

Afaik there is no such schema you can use for key user action (at this time).

---

<div class="post-metadata">

**Author:** ![PedroDeodato](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pedrodeodato/32/32284_2.png) [@PedroDeodato](https://community.dynatrace.com/u/PedroDeodato)\
**Post date:** [August 14, 2023, 1:35pm UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/3 "2023-08-14T13:35:14Z")

</div>

Thanks,&nbsp;[@Julius\_Loman](https://community.dynatrace.com/user/3364)&nbsp;!  
I’ve searched and searched, so I assume that as well… I’ll probably post it as a Product Idea 🙂

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [August 14, 2023, 1:48pm UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/4 "2023-08-14T13:48:16Z")

</div>

If there is no schema for it, then you can’t use the settings API to modify it. Such schema is not listed in the docs, you can check the settings API to fetch a current schema list - maybe there is already something not yet listed in the docs.

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [August 14, 2023, 2:16pm UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/5 "2023-08-14T14:16:16Z")

</div>

Hi [@PedroDeodato](https://community.dynatrace.com/user/40725)&nbsp;Same issue here, only role to access the button is change monitoring settings at least under Management Zone permissions, not doable via policy.

---

<div class="post-metadata">

**Author:** ![PedroDeodato](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pedrodeodato/32/32284_2.png) [@PedroDeodato](https://community.dynatrace.com/u/PedroDeodato)\
**Post date:** [August 14, 2023, 2:48pm UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/6 "2023-08-14T14:48:22Z")

</div>

Yep, that was what we did and found nothing to address our issue…

In the process, besides this one case, we found other interesting settings that have no schema for them… maybe we’ll gather a list to post as Ideas, because such cases with the need for more granular permissions keep arising here and there: and, as you said, without schemas, there’s nothing we can do about it 😞

---

<div class="post-metadata">

**Author:** ![Mohamed\_Hamdy](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mohamed\_Hamdy](https://community.dynatrace.com/u/Mohamed_Hamdy)\
**Post date:** [August 15, 2023, 8:17am UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/7 "2023-08-15T08:17:13Z")

</div>

Yes, I’ve faced the same issue but with extensions configurations

> **[IAM policy reference](https://docs.dynatrace.com/docs/manage/identity-access-management/permission-management/manage-user-permissions-policies/advanced/iam-policystatements)**
>
> Complete reference of IAM policies and corresponding conditions across all Dynatrace services.

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [December 21, 2023, 8:15pm UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/8 "2023-12-21T20:15:50Z")

</div>

I have documented everything that I can think of in a spreadsheet for Schema 1.0, 2.0 and no schema.

Here is link on no schema:

[https://community.dynatrace.com/t5/Open-Q-A/Settings-1-0-2-0-and-some-settings-are-on-neither/m-p/231226#M29973](https://community.dynatrace.com/post/231226#M29973)

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [December 21, 2023, 9:42pm UTC](https://community.dynatrace.com/t/settings-2-0-policy-to-set-key-user-actions/41196/9 "2023-12-21T21:42:12Z")

</div>

[@Kenny\_Gillette](https://community.dynatrace.com/user/36140)&nbsp;You have done a super job! It seems to be all there.
