view_time_entries now inherits view_own_time_entries

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@416 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
hjust 15 years ago
parent 7c7536fec6
commit 3d0c0a601d
  1. 1
      init.rb

@ -170,6 +170,7 @@ Redmine::Plugin.register :redmine_costs do
end
view_time_entries = Redmine::AccessControl.permission(:view_time_entries)
view_time_entries.instance_variable_set("@inherits", [:view_own_time_entries])
view_time_entries.actions << "cost_reports/index"
edit_time_entries = Redmine::AccessControl.permission(:edit_time_entries)

Loading…
Cancel
Save