X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=users.php;h=35fd4168cda8f57789165263f5bb139082e0f807;hb=2ff04a2baeaa449ab30b822e2bb52ff792776753;hp=8602186382e6aff6f67a09c8c6a39e2cf66b1b0a;hpb=fd0872d9e582113346fa1e93557f370286c5c9f2;p=timetracker.git diff --git a/users.php b/users.php index 86021863..35fd4168 100644 --- a/users.php +++ b/users.php @@ -33,7 +33,7 @@ import('ttTimeHelper'); import('ttRoleHelper'); // Access check. -if (!ttAccessAllowed('view_users')) { +if (!(ttAccessAllowed('view_users') || ttAccessAllowed('manage_users'))) { header('Location: access_denied.php'); exit(); }