Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[33983] Don't grant budget permissions on costs permissions

Oliver Günthera1866a2381d0
diff --git a/modules/costs/lib/costs/engine.rb b/modules/costs/lib/costs/engine.rb
index 31fd9816519..d13166081d3 100644
--- a/modules/costs/lib/costs/engine.rb
+++ b/modules/costs/lib/costs/engine.rb
@@ -81,8 +81,8 @@ module Costs
permission :edit_cost_entries, { costlog: %i[edit update destroy] },
require: :member
- permission :view_cost_entries, { budgets: %i[index show], costlog: [:index] }
- permission :view_own_cost_entries, { budgets: %i[index show], costlog: [:index] }
+ permission :view_cost_entries, { costlog: [:index] }
+ permission :view_own_cost_entries, { costlog: [:index] }
end
# Menu extensions