mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00: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:
parent
874cea2b97
commit
1a2674ad6b
@ -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…
x
Reference in New Issue
Block a user