Skip to content

Commit

Permalink
add new permission to roles having edit_project
Browse files Browse the repository at this point in the history
  • Loading branch information
ulferts committed Nov 28, 2024
1 parent ed225b5 commit a2d8949
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a2d8949

Please sign in to comment.