sander_ha

Hmm but I dont think I can use that in a BuildTask?

sander_ha

quickfix is this

  1. public function canEdit($member = null)
  2. {
  3. return Director::is_cli() || Permission::check('COURSE_EDIT');
  4. }

But i'd rather not!

sander_ha
  1. $admin = Security::findAnAdministrator();
  2. $admin->logIn();

Simply gives a cookie error when run via cli

sander_ha

because of some permissions on some of the affected models

sander_ha

Hmm anyone know how to "set admin user" in a BuildTask? Its run by cron (cli), but there has to be an admin user "logged in", else the task cant do all the things it should

sander_ha

Has anyone experienced issues with ss4 not updating hashes on requirements (css/js), when deployed via a CI service like buddy.works ?

sander_ha

If I have an Image object, is there a way to get access to the Interventation library methods through it?

 

[2019-03-22 08:20:54] manifestcache-log.WARNING: Failed to save values {"keys":["__CACHE__"],"exception":null} []