镜像自地址
https://github.com/redmine/redmine.git
已同步 2024-08-27 17:54:48 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 行
203 B
Ruby
10 行
203 B
Ruby
class AddRolesBuiltin < ActiveRecord::Migration
|
|
def self.up
|
|
add_column :roles, :builtin, :integer, :default => 0, :null => false
|
|
end
|
|
|
|
def self.down
|
|
remove_column :roles, :builtin
|
|
end
|
|
end
|