Log in admin user for migrations
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.