Aaron Cooper

There's also getSourceURL() but I think that might just be the public URL but for Images that have been resized

Aaron Cooper

Yeah I saw that grant thing. I think it just means let the current user have access to it. I would have though setting it to false would mean you get nothing

Aaron Cooper

It looks like you have to repeat this on every Slack org. Either that or mine keeps reverting

Aaron Cooper

Awesome. The new format was well intended, but putting quotes/codeblocks between normal text is a PITA

✔️ (2)
Aaron Cooper

That's where I would expect to put it @Nemanja Karadzic. The original template is in /vendor/silverstripe/framework/templates/SilverStripe/Forms/OptionsetField.ss and the namespace is SilverStripe\Forms

Nemanja Karadzic

I did, named exactly like the extension, but didn't load until I added ->setTemplate to constructor

Aaron Cooper

Probably due to /assets being a symlink in this site's case.

Aaron Cooper

Yeah it's a bit fiddly and I suppose there's a lot that comes down to individual file system permissions. I actually can't even use it for a manual sspak creation at the source.

  1. > sudo sspak save /var/www/site/public-www /tmp/site.sspak
  2. mysqldump: [Warning] Using a password on the command line interface can be insecure.
  3. tar-based phar "/tmp/site.sspak" cannot be created, contents of file "assets.tar.gz" could not be written