mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
Added a permissions array to all the controllers that extends FHC_Controller
This commit is contained in:
@@ -51,7 +51,22 @@ class InfoCenter extends FHC_Controller
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
parent::__construct(
|
||||
array(
|
||||
'index' => 'infocenter:r',
|
||||
'showDetails' => 'infocenter:r',
|
||||
'unlockPerson' => 'infocenter:w',
|
||||
'saveFormalGeprueft' => 'infocenter:w',
|
||||
'getLastPrestudentWithZgvJson' => 'infocenter:r',
|
||||
'saveZgvPruefung' => 'infocenter:w',
|
||||
'saveAbsage' => 'infocenter:w',
|
||||
'saveFreigabe' => 'infocenter:w',
|
||||
'saveNotiz' => 'infocenter:w',
|
||||
'reloadNotizen' => 'infocenter:r',
|
||||
'reloadLogs' => 'infocenter:r',
|
||||
'outputAkteContent' => 'infocenter:r'
|
||||
)
|
||||
);
|
||||
|
||||
// Loads models
|
||||
$this->load->model('crm/akte_model', 'AkteModel');
|
||||
|
||||
Reference in New Issue
Block a user