User can change only role allowed permissions (direct versus role based permissions)

This commit is contained in:
DariusIII
2018-08-07 10:50:40 +02:00
parent a5b59d88a4
commit 2178146af3
4 changed files with 29 additions and 12 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ class BasePageController extends Controller
$this->smarty->assign('recentforumpostslist', Forumpost::getPosts(Settings::settingValue('..showrecentforumposts')));
}
$parentcatlist = Category::getForMenu();
$parentcatlist = Category::getForMenu($this->userdata['categoryexclusions']);
$this->smarty->assign('parentcatlist', $parentcatlist);
$this->smarty->assign('catClass', Category::class);