From a2d8949e7bccaf3a4c12f8aa56b2e8ac74b45249 Mon Sep 17 00:00:00 2001 From: ulferts Date: Wed, 27 Nov 2024 17:21:11 +0100 Subject: [PATCH] add new permission to roles having edit_project --- ...127161228_grant_select_project_life_cycle_permission.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 db/migrate/20241127161228_grant_select_project_life_cycle_permission.rb 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 000000000000..8309166220a7 --- /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