From 3d0c0a601d28f8107278b48c15468d7013b66642 Mon Sep 17 00:00:00 2001 From: hjust Date: Mon, 14 Dec 2009 20:21:29 +0000 Subject: [PATCH] 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 --- init.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/init.rb b/init.rb index b0824cc385..e61898f842 100644 --- a/init.rb +++ b/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)