Tree ordering allowed only for admins and editors role based solution
great plugin, saves time and have almost everything I need, except one option.
Tree order can be change by every user role Admin, Editor, Author, Contributor. Even if we base on role customizing plugins like Members or User Role Editor there is no way to disable tree ordering functionality only for Author or Contributor or another custom role.
I write some code to add custom capability move_cms_tree_view_page to role. This changes https://github.com/magicmat/cms-tree-page-view-permission/commit/db33756539b8099b9679166f9605b9b087fe87e2 declare role capability on plugin activation and remove on deactivation. So the role customizing plugins can see that capability. Then you can check or uncheck this capability from role manager or editor
If there is simpler and cleaner solution I would be happy to see it.
Maybe someone find this functionality useful too?
- The topic ‘Tree ordering allowed only for admins and editors role based solution’ is closed to new replies.