# How to hide a created perspective for user groups

**URL:** <https://community.bloomreach.com/t/how-to-hide-a-created-perspective-for-user-groups/346>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [August 30, 2018, 9:24am UTC](https://community.bloomreach.com/t/how-to-hide-a-created-perspective-for-user-groups/346 "2018-08-30T09:24:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rene](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/rene/32/141_2.png) [@rene](https://community.bloomreach.com/u/rene)\
**Post date:** [August 30, 2018, 9:24am UTC](https://community.bloomreach.com/t/how-to-hide-a-created-perspective-for-user-groups/346/1 "2018-08-30T09:24:53Z")

</div>

Hello,

I created a custom perspective following this documentation: [https://www.onehippo.org/library/concepts/editor-interface/cms-perspectives.html](https://www.onehippo.org/library/concepts/editor-interface/cms-perspectives.html).

Now I want to restrict the visibility of that perspective, so that only a certain user group, e.g. the Administrator, can see and click on this perspective.

I tried different things, such as creating a new domain, but didn’t find a solution.

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [September 3, 2018, 8:28am UTC](https://community.bloomreach.com/t/how-to-hide-a-created-perspective-for-user-groups/346/2 "2018-09-03T08:28:22Z")

</div>

Hi,

First, what you know. The perspective is configured under /hippo:configuration/hippo:frontend/cms/cms-static in a node of type frontend:plugin.

If we look in existing domains we find the domain /hippo:configuration/hippo:domains/frontendconfig with underneath that a domain rule frontend-plugins. This give access to the perspectives. There are a number of facet rules underneath to exclude access to specific features, like the admin perspective. Add a rule to exclude your perspective here. Access for admins should work as they have a rule elsewhere giving them access to everything.

---

<div class="post-metadata">

**Author:** ![rene](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/rene/32/141_2.png) [@rene](https://community.bloomreach.com/u/rene)\
**Post date:** [September 3, 2018, 9:30am UTC](https://community.bloomreach.com/t/how-to-hide-a-created-perspective-for-user-groups/346/3 "2018-09-03T09:30:29Z")

</div>

Thank you very much!  
This works perfect, but would there also be the possibility to make a perspective only accessible for an other group like for authors?

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [September 3, 2018, 9:51am UTC](https://community.bloomreach.com/t/how-to-hide-a-created-perspective-for-user-groups/346/4 "2018-09-03T09:51:29Z")

</div>

You would do the same by adding an exclude. Then you would need to add a domain/domain rule to give access for that group to that specific perspective. It’s a step extra than for admins since admins already get access to everything.

---

<div class="post-metadata">

**Author:** ![kkedzierskim](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/kkedzierskim/32/747_2.png) [@kkedzierskim](https://community.bloomreach.com/u/kkedzierskim)\
**Post date:** [June 15, 2020, 2:01pm UTC](https://community.bloomreach.com/t/how-to-hide-a-created-perspective-for-user-groups/346/5 "2020-06-15T14:01:09Z")

</div>

Hi @jasper.floor, I have a problem with making my perspective only accessible for editors and admins, could you explain how to do it right. I created my own domain/domain rule and would like to give permissions to editors and admins to see the perspective. I’m using v13.4.0.

```
/form-perspective:
  jcr:primaryType: hipposys:domain
  /form-perspective:
    jcr:primaryType: hipposys:domainrule
    /exclude-admin-iframe:
      jcr:primaryType: hipposys:facetrule
      hipposys:equals: false
      hipposys:facet: plugin.class
      hipposys:filter: false
      hipposys:type: String
      hipposys:value: com.example.forms.FormPerspective
  /editor:
    jcr:primaryType: hipposys:authrole
    hipposys:groups: [editor]
    hipposys:role: admin
```
