Changeset [94c4e4e7003d3013def03073260ce046fc5209ad] by dleffler

November 17th, 2012 @ 03:26 AM

Though we've been unable to reproduce this anomaly in the new navigationController, this code adds non-admin user access to the manage pages view by 1) adding a new module 'checkPermissions' callback method to allow for some psuedo 'global' like permissions...e.g., being granted 'manage' permission to navigation/manage when there is NO src therefore no such permission exists since it can't be created, and 2) restricting the page hierarchy context menu to only active pages, and 3) NOT displaying a 'top of hierarchy' option for non-admin users when editing a page. [#798 state:resolved]
https://github.com/exponentcms/exponent-cms/commit/94c4e4e7003d3013...

Committed by dleffler

  • M framework/core/subsystems/expPermissions.php
  • M framework/modules/administration/menus/z-navigation.php
  • M framework/modules/ecommerce/controllers/eventregistrationController.php
  • M framework/modules/navigation/controllers/navigationController.php
  • M framework/modules/navigation/views/navigation/edit_contentpage.tpl
  • M framework/modules/navigation/views/navigation/edit_externalalias.tpl
  • M framework/modules/navigation/views/navigation/edit_internalalias.tpl
  • M framework/modules/navigation/views/navigation/manage_hierarchy.tpl
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins