- Add the hooks file to
_add-ons/restrict_to/hooks.restrict_to.php
. - Add the
restrict_to
tags
field to your_config/bundles/member/fields.yaml
. - To restrict pages, add them to the
restrict_to
field. eg./blog
,/calendar
. They will only be allowed to edit pages that begin with this url.
If your member listing is visible, (it is by default), they can edit their own restricted pages.