Panel: Limit edit access to page author, admins

Hi!

I couldn’t see this documented anywhere, but is it possible to limit edit access on pages to only allow the author and admins to make changes?

The use case is I want to create a sign-up form where site visitors can create an account, login to the panel, and contribute content, but not edit the content of other contributors.

Kind regards,
Simon

You can do this on a blueprint basis by limiting options to certain user roles: https://getkirby.com/docs/reference/panel/blueprints/page#options (see since 3.2).

Keep in mind that this would still not prevent access of one outside user to the content of another outside user, and you would have to use hooks to prevent that.

Thanks @texnixe!

That’s exactly the problem I’m facing. I’ll take a look at hooks and see what I can do.