---
title: 'Preventing Page Creation/Editing/Saving on Specific Folders on Specific Accounts'
url: 'https://getgrav.org/forum/support/preventing-page-creation-editing-saving-on-specific-folders-on-specific-accounts-t8774'
markdown: 'https://getgrav.org/forum/support/preventing-page-creation-editing-saving-on-specific-folders-on-specific-accounts-t8774.md'
date: '2026-06-21'
description: 'We would like to limit the permission of other accounts so that they are only able to create/edit/delete pages on a certain folder. Since Grav does not seem to'
---

[Support](https://getgrav.org/forum/support)

#  Preventing Page Creation/Editing/Saving on Specific Folders on Specific Accounts 

 [admin](https://getgrav.org/forum/tag/admin) [plugin](https://getgrav.org/forum/tag/plugin) [plugins](https://getgrav.org/forum/tag/plugins)

  Started by Kyle Alexander Buan 6 years ago · 0 replies · 1291 views    

 [6 years ago](https://getgrav.org/forum/support/preventing-page-creation-editing-saving-on-specific-folders-on-specific-accounts-t8774#post-29079 "Permalink") 

We would like to limit the permission of other accounts so that they are only able to create/edit/delete pages on a certain folder.

Since Grav does not seem to have this permission feature implemented, I have been thinking of creating a hardcoded plugin for this.

It seems like the `onAdminSave` event can be hooked into, but I was wondering how I can

1. Get the currently logged in user
2. Determine if that user can actually create that page on that folder
3. Depending on the result, prevent the saving

We would like to also prevent editing and deletion of other pages but it seems like there is no such event such as `onAdminDelete`, only `onAdminAfterDelete` so is that even cancellable?

I would really appreciate even just a general guide on how to accomplish this, if possible.

Thank you very much in advance!

[Log in](https://getgrav.org/login?return=%2Fforum%2Fsupport%2Fpreventing-page-creation-editing-saving-on-specific-folders-on-specific-accounts-t8774) to reply.

###  Suggested topics

 | Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| [page.date != page.header.date, now my collection sorting is broken (bug? by design?)](https://getgrav.org/forum/support/page-date-page-header-date-now-my-collection-sorting-is-broken-bug-by-design-t9484)    [Support](https://getgrav.org/forum/support) · by Anna, 2 weeks ago |  | 1 | 185 | [2 weeks ago](https://getgrav.org/forum/support/page-date-page-header-date-now-my-collection-sorting-is-broken-bug-by-design-t9484 "by Anna") |
| [it's no possible sign in with email......](https://getgrav.org/forum/support/it-s-no-possible-sign-in-with-email-t9462)    [Support](https://getgrav.org/forum/support) · by webmasterodp, 4 weeks ago |  | 4 | 331 | [4 weeks ago](https://getgrav.org/forum/support/it-s-no-possible-sign-in-with-email-t9462 "by webmasterodp") |
| [Site stopped working overnight - 'not writeable' error](https://getgrav.org/forum/support/site-stopped-working-overnight-not-writeable-error-t9445)    [Support](https://getgrav.org/forum/support) · by nwhitfield, 4 weeks ago |  | 2 | 299 | [4 weeks ago](https://getgrav.org/forum/support/site-stopped-working-overnight-not-writeable-error-t9445 "by pamtbaau") |
| [MIgrating to 2.0](https://getgrav.org/forum/support/migrating-to-2-0-t9437)    [Support](https://getgrav.org/forum/support) · by stell, 1 month ago |  | 5 | 590 | [1 month ago](https://getgrav.org/forum/support/migrating-to-2-0-t9437 "by stell") |
| [Render thumbnail in Flex object list view](https://getgrav.org/forum/support/render-thumbnail-in-flex-object-list-view-t9410)    [Support](https://getgrav.org/forum/support) · by gravinator, 2 months ago |  | 5 | 728 | [1 month ago](https://getgrav.org/forum/support/render-thumbnail-in-flex-object-list-view-t9410 "by bde") |
