Commit 52a6f768 authored by Frank Bergmann's avatar Frank Bergmann

- added "edit_companies_all" privilege

parent 2753ce04
......@@ -144,6 +144,7 @@ where
if {$user_is_group_member_p} { set read 1 }
if {[im_permission $user_id view_companies_all]} { set read 1 }
if {[im_permission $user_id edit_companies_all]} { set admin 1 }
# All employees have the right to see the "internal" company
if {$user_is_employee_p && [string equal "internal" $company_path]} {
......
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