mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Added permission check to InfoCenter Main page
This commit is contained in:
@@ -70,6 +70,10 @@ class InfoCenter extends VileSci_Controller
|
||||
|
||||
$this->_setAuthUID(); // sets property uid
|
||||
|
||||
$this->load->library('PermissionLib');
|
||||
if(!$this->permissionlib->isBerechtigt('basis/person'))
|
||||
show_error('You have no Permission! You need Infocenter Role');
|
||||
|
||||
$this->_setNavigationMenuArray(); // sets property navigationMenuArray
|
||||
|
||||
$this->navigationHeaderArray = array(
|
||||
|
||||
Reference in New Issue
Block a user