Started redoing access checks using role rights.
[timetracker.git] / admin_options.php
index ae901d6..6f81255 100644 (file)
@@ -31,7 +31,7 @@ import('form.Form');
 import('ttUserHelper');
 
 // Access check.
-if (!ttAccessCheck(right_administer_site)) {
+if (!ttAccessAllowed('administer_site')) {
   header('Location: access_denied.php');
   exit();
 }