Commit f5c9f405 authored by Frank Bergmann's avatar Frank Bergmann

- added view_absences_all as an also-enabled for absences

parent 7575b83f
......@@ -53,7 +53,7 @@ set site_url "/intranet-timesheet2/absences"
set return_url "$site_url/index"
if {![im_permission $user_id "view_absences"]} {
if {![im_permission $user_id "view_absences"] && ![im_permission $user_id "view_absences_all"]} {
ad_return_complaint 1 "You don't have permissions to see absences"
ad_script_abort
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment