Only roles with right permission can change tree order and publish posts #1

Merged
merged 1 commit into from Apr 17, 2014

Projects

None yet

2 participants

@mateuszdw

Fixes:

  • only roles Admin and Editor can change tree order. Author, Contributor and any role which have unset custom 'move_cms_tree_view_page' capability cant change tree order. Plugins sets 'move_cms_tree_view_page' capability as default for Admin and Editor)
  • only roles with permission 'publish_posts' can publish posts and pages from the tree menu
@bonny bonny merged commit affa322 into bonny:master Apr 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment