mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
Add navigation component to RoomManager
This commit is contained in:
@@ -15,7 +15,7 @@ class RoomManager extends Auth_Controller
|
||||
{
|
||||
parent::__construct(
|
||||
array(
|
||||
'index' => array('lehre/unterrichtszeiten_gk:r'),
|
||||
'index' => array('basis/ort:r')
|
||||
)
|
||||
);
|
||||
|
||||
@@ -42,7 +42,11 @@ class RoomManager extends Auth_Controller
|
||||
// Public methods
|
||||
public function index()
|
||||
{
|
||||
return $this->load->view('room_manager/index');
|
||||
return $this->load->view('room_manager/index', [
|
||||
'permissions' => [
|
||||
'basis/ort_w' => $this->permissionlib->isBerechtigt('basis/ort', 'suid'),
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user