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

add new permission to roles having edit_project

ulfertsa2d8949e7bcc
diff --git a/db/migrate/20241127161228_grant_select_project_life_cycle_permission.rb b/db/migrate/20241127161228_grant_select_project_life_cycle_permission.rb
new file mode 100644
index 00000000000..8309166220a
--- /dev/null
+++ b/db/migrate/20241127161228_grant_select_project_life_cycle_permission.rb
@@ -0,0 +1,7 @@
+require_relative "migration_utils/permission_adder"
+
+class GrantSelectProjectLifeCyclePermission < ActiveRecord::Migration[7.1]
+ def up
+ ::Migration::MigrationUtils::PermissionAdder.add(:edit_project, :select_project_life_cycle)
+ end
+end