# Hiding custom perspective for user group

**URL:** <https://community.bloomreach.com/t/hiding-custom-perspective-for-user-group/1987>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [June 15, 2020, 2:26pm UTC](https://community.bloomreach.com/t/hiding-custom-perspective-for-user-group/1987 "2020-06-15T14:26:35Z")\
**Posts on this page:** 1\
**Page:** 1

<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:26pm UTC](https://community.bloomreach.com/t/hiding-custom-perspective-for-user-group/1987/1 "2020-06-15T14:26:36Z")

</div>

Hi, I have a problem with making my perspective only accessible for editors and admins. I created my own domain/domain rule and would like to give permissions to editors and admins to see the perspective. Maybe someone can explain where I’m making a mistake. 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
```
