projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added override_date_lock right to supervisors.
[timetracker.git]
/
profile_edit.php
diff --git
a/profile_edit.php
b/profile_edit.php
index
04f91b4
..
ba157a9
100644
(file)
--- a/
profile_edit.php
+++ b/
profile_edit.php
@@
-32,7
+32,7
@@
import('ttUserHelper');
import('ttRoleHelper');
// Access check.
import('ttRoleHelper');
// Access check.
-if (!ttAccess
Check(right_data_entry|right_view_reports
)) {
+if (!ttAccess
Allowed('manage_own_settings'
)) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}