mirror of
https://github.com/redmine/redmine.git
synced 2026-07-01 00:30:14 +02:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user