CMS MADE SIMPLE FORGE

SimplePortal

 

[#6429] Menu Item displayed with no permission

avatar
Created By: Tyler Boespflug (tyman00)
Date Submitted: Mon Apr 25 15:53:13 -0400 2011

Assigned To: Robert Campbell (calguy1000)
Version: 1.0
CMSMS Version: None
Severity: Minor
Resolution: None
State: Open
Summary:
Menu Item displayed with no permission
Detailed Description:
If you do not have the "Manage Portals" permission enabled for your group(s),
the menu item is still displayed in the "Extensions" menu. When you click on the
page it displays nothing in the content area so the permission is followed.
Mainly the issue is just to clean up the navigation for users without that
permission.


History

Comments
avatar
Date: 2011-04-25 15:57
Posted By: Tyler Boespflug (tyman00)

Looks like line 162 of SimplePortal.module.php should read:

  return $this->CheckPermission('Manage Portals');

instead of:

  return true;