Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [94c4e4e7003d3013def03073260ce046fc5209ad] by dleffler

Revision 94c4e4e7003d3013def03073260ce046fc5209ad, committed 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...

8 changed files

  • 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