Revision 4dd8cc7d
Added by Marek Hulán about 10 years ago
db/migrate/20140219183343_migrate_permissions.rb | ||
---|---|---|
# we need permissions to be seeded already
|
||
require Rails.root + 'db/seeds.d/20-permissions'
|
||
require Rails.root + 'db/seeds.d/11-permissions'
|
||
|
||
# Fake models to make sure that this migration can be executed even when
|
||
# original models changes later (e.g. add validation on columns that are not
|
Also available in: Unified diff
Fixes #5391 - Authorizer test should use testing permission
Also change order of seed so admin user can be saved and
existing Anonymous role is assigned.
(cherry picked from commit 29a52c6c51afc55f36e7135a8c6794604173a5aa)