# Editor allowing to edit just one page

**URL:** <https://forum.getkirby.com/t/editor-allowing-to-edit-just-one-page/7653>\
**Category:** Questions\
**Tags:** v2\
**Created:** [June 3, 2017, 10:24am UTC](https://forum.getkirby.com/t/editor-allowing-to-edit-just-one-page/7653 "2017-06-03T10:24:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmoeller](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@dmoeller](https://forum.getkirby.com/u/dmoeller)\
**Post date:** [June 3, 2017, 10:24am UTC](https://forum.getkirby.com/t/editor-allowing-to-edit-just-one-page/7653/1 "2017-06-03T10:24:59Z")

</div>

Since a couple of days i am trying to find out how to let an editor to only let edit one specific page.

I have found this on the net: [https://getkirby.com/docs/panel/permissions](https://getkirby.com/docs/panel/permissions)

Unfortunaltely this does not help as i want the editor only to see and to edit one specific page and nothing else.

Has anyone please an idea?

I am looking forward to hear from you. Thnak you!

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 3, 2017, 10:42am UTC](https://forum.getkirby.com/t/editor-allowing-to-edit-just-one-page/7653/2 "2017-06-03T10:42:41Z")

</div>

Permissions is the way to go. But if the page is a descendant of pages, you will have to make those at least read accessible…

---

<div class="post-metadata">

**Author:** ![dmoeller](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@dmoeller](https://forum.getkirby.com/u/dmoeller)\
**Post date:** [June 3, 2017, 11:22am UTC](https://forum.getkirby.com/t/editor-allowing-to-edit-just-one-page/7653/3 "2017-06-03T11:22:22Z")

</div>

Thank you very much.

I tried the following that worked fine:

```
<?php

// site/roles/editor.php
return [
  'name' => 'Editor',
  'default' => false,
  'permissions' => [
    '*' => true,
    'panel.site.update' => false,
    'panel.page.visibility' => false,
    'panel.access.options' => false,
    'panel.widget.pages' => false,
    'panel.page.delete' => false,
    'panel.page.create' => false,
    'panel.page.url' => false,
    'panel.file.upload' => false,
    'panel.file.delete' => false,
    'panel.file.sort' => false,
    'panel.file.update' => false,
    'panel.file.rename' => false,
    'panel.file.replace' => false,
    'panel.widget.site' => false,
    'panel.user.read' => false,
    'panel.user.create' => false,
    'panel.page.update' => function() {
      return $this->target()->page()->template() === 'the-pages-name';
    }
      ]
];
```

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:49pm UTC](https://forum.getkirby.com/t/editor-allowing-to-edit-just-one-page/7653/4 "2025-02-06T16:49:52Z")

</div>


