mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 15:04:04 +00:00
replacing view-provided permissions w/ querying permissions endpoint
This commit is contained in:
@@ -88,10 +88,6 @@ class Cms extends Auth_Controller
|
||||
$this->load->view('CisRouterView/CisRouterView.php', [
|
||||
'viewData'=>$viewData,
|
||||
'route' => 'News',
|
||||
'permissions' => [
|
||||
'basis/news_r' => $this->permissionlib->isBerechtigt('basis/news', 's'),
|
||||
'basis/news_w' => $this->permissionlib->isBerechtigt('basis/news', 'suid'),
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user