X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/fd0872d9e582113346fa1e93557f370286c5c9f2..d31bcc34081a36b3f45c080f3a5cd231ec417fa9:/roles.php diff --git a/roles.php b/roles.php index ec79020e..cd17da3c 100644 --- a/roles.php +++ b/roles.php @@ -31,11 +31,12 @@ import('form.Form'); import('ttTeamHelper'); import('ttRoleHelper'); -// Access check. +// Access checks. if (!ttAccessAllowed('manage_roles')) { header('Location: access_denied.php'); exit(); } +// End of access checks. $smarty->assign('active_roles', ttTeamHelper::getActiveRolesForUser()); $smarty->assign('inactive_roles', ttTeamHelper::getInactiveRolesForUser());