Browse Source

Fix the migration version of 20221214173537_add_select_project_publicity_permission.rb (#38048, #38210).


git-svn-id: https://svn.redmine.org/redmine/trunk@22074 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Go MAEDA 1 year ago
parent
commit
1a2674ad6b

+ 1
- 1
db/migrate/20221214173537_add_select_project_publicity_permission.rb View File

@@ -1,4 +1,4 @@
class AddSelectProjectPublicityPermission < ActiveRecord::Migration[5.2]
class AddSelectProjectPublicityPermission < ActiveRecord::Migration[6.1]
def up
Role.find_each do |r|
r.add_permission!(:select_project_publicity) if r.permissions.include?(:edit_project)

Loading…
Cancel
Save