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

Remove all these in DB

Oliver Günther0049d711caa9
diff --git a/modules/meeting/db/migrate/20250428114958_cleanup_meeting_permissions.rb b/modules/meeting/db/migrate/20250428114958_cleanup_meeting_permissions.rb
index 9c180f7461e..2c734d8a1fb 100644
--- a/modules/meeting/db/migrate/20250428114958_cleanup_meeting_permissions.rb
+++ b/modules/meeting/db/migrate/20250428114958_cleanup_meeting_permissions.rb
@@ -32,7 +32,12 @@ class CleanupMeetingPermissions < ActiveRecord::Migration[7.1]
def up
execute <<-SQL.squish
DELETE FROM role_permissions
- WHERE permission = 'close_meeting_agendas';
+ WHERE permission IN (
+ 'close_meeting_agendas',
+ 'send_meeting_minutes_notification',
+ 'send_meeting_agendas_icalendar',
+ 'create_meeting_agendas'
+ );
SQL
end