# Problem with policies

**URL:** <https://community.dynatrace.com/t/problem-with-policies/51646>\
**Category:** Open Q&A\
**Tags:** user-management\
**Created:** [May 14, 2025, 9:43pm UTC](https://community.dynatrace.com/t/problem-with-policies/51646 "2025-05-14T21:43:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustavodutra](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gustavodutra/32/35020_2.png) [@gustavodutra](https://community.dynatrace.com/u/gustavodutra)\
**Post date:** [May 14, 2025, 9:43pm UTC](https://community.dynatrace.com/t/problem-with-policies/51646/1 "2025-05-14T21:43:32Z")

</div>

Hi everyone,

How are you?

I received a request where users from another company want access to the Dynatrace configurations in clusters for which they are not responsible for the development.

In order not to expose all my configurations and permissions, I created rules based on schemaId and schemaGroup for a group and assigned them to the users.

However, I’m facing an issue with the Kubernetes visualization (new version). In Kubernetes Classic it works perfectly, but in the new version of Kubernetes, they are unable to view their clusters, namespaces, workloads, nodes, pods, etc. It only works in the Classic version.

I found that when I specify this rule inside the policies:

```markup
ALLOW storage:entities:read;

```

They are able to see the clusters, namespaces, etc., but they are seeing **all** the clusters in the environment.

Is there a way to define this rule **only** for the cluster they are responsible for and hide mine?

 ![Captura de tela 2025-05-14 184232.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/4/b4c1b27f236b67709b1a03c797620861a49b3bd0.png)

---

<div class="post-metadata">

**Author:** ![gustavodutra](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gustavodutra/32/35020_2.png) [@gustavodutra](https://community.dynatrace.com/u/gustavodutra)\
**Post date:** [May 14, 2025, 9:43pm UTC](https://community.dynatrace.com/t/problem-with-policies/51646/2 "2025-05-14T21:43:51Z")

</div>

![Captura de tela 2025-05-14 184232.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/4/b4c1b27f236b67709b1a03c797620861a49b3bd0.png)

---

<div class="post-metadata">

**Author:** ![gustavodutra](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gustavodutra/32/35020_2.png) [@gustavodutra](https://community.dynatrace.com/u/gustavodutra)\
**Post date:** [May 14, 2025, 9:47pm UTC](https://community.dynatrace.com/t/problem-with-policies/51646/3 "2025-05-14T21:47:15Z")

</div>

![gustavodutra_1-1747259216263.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/2/02fa2c3e36a7bd4dd857bbe49551a951837a7e29.png)

It works like that without the mentioned rule, but once the rule is included, they can see everything.

---

<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:** [May 16, 2025, 6:46am UTC](https://community.dynatrace.com/t/problem-with-policies/51646/4 "2025-05-16T06:46:01Z")

</div>

You need to set the boundaries for permission. You can do that either by creating a boundary and using it with the policy when you create a permission, or you can do it directly in the permission by specifying the security context.
