Answer the question
In order to leave comments, you need to log in
October CMS: How to hide/show pages based on user roles in Static Pages Plugin Backend?
Let's say I attached a user to a role called "Manager Moscow".
Now, in the backend of the Static Pages plugin, I want to hide all pages except "Moscow" from this user so that he does not have access to edit the content of other pages.
I think that most likely you need to change the display model of these same pages, and filter by url or slug somehow. But until I figure out how to do it. However, such an opportunity is very necessary for one project.
Has anyone had a similar problem in October?
Answer the question
In order to leave comments, you need to log in
Found the answer , maybe it will be useful for someone.
When hiding pages with nesting, child pages will also be hidden.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question