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

Fix: Add missing controller_actions hash on permission

Aaron Contreras75ff44eb78e5
diff --git a/modules/calendar/lib/open_project/calendar/engine.rb b/modules/calendar/lib/open_project/calendar/engine.rb
index 983930b15c8..27f6bbea522 100644
--- a/modules/calendar/lib/open_project/calendar/engine.rb
+++ b/modules/calendar/lib/open_project/calendar/engine.rb
@@ -37,6 +37,7 @@ module OpenProject::Calendar
dependencies: %i[view_calendar add_work_packages edit_work_packages save_queries manage_public_queries],
contract_actions: { calendar: %i[create update destroy] }
permission :share_calendars,
+ {},
dependencies: %i[view_calendar],
contract_actions: { calendar: %i[read] }
end