Skip to content

Log in admin user for migrations

Compare
Choose a tag to compare
@am0s am0s released this 02 Jun 14:01
· 2 commits to master since this release
fd7affb

The migration bootstrap() function now ensures that an admin is logged in for all migration operations.
This helps avoid permission problems or restrictive workflows when running migrations.

It reads Migration/User from project.ini, if this is not set or empty it defaults to the admin user with ID 14.
Migration/User may either be a numerical ID or a login name.