X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/926ea063e48ed8a45dcd308b87f92abe2bfed716..b401022733a9645ed701522585b2d57db936f5cc:/role_add.php diff --git a/role_add.php b/role_add.php index de25f70c..684ee11b 100644 --- a/role_add.php +++ b/role_add.php @@ -32,7 +32,7 @@ import('ttTeamHelper'); import('ttRoleHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessAllowed('manage_roles')) { header('Location: access_denied.php'); exit(); }