@robjingram has joined the channel
I would have thought that it would return the public URL, which wouldn’t include
.protected. Protected files are served by a PHP request rather than directly by the web server
For reference in case anybody else has to do the same thing, something along the lines of:
- $folder->CanViewType = InheritedPermissions::ONLY_THESE_USERS;
$adminGroup is the
Group object for Administrators (in this case).
Is there a guide anywhere to setting Folder permissions programatically? I.e. how do I do the below in code?
The documentor error is similar. It complains that the return types should implement an interface but it is getting
Anyone finding that invalid
@return types in doc blocks are breaking the PHP language server in VScode? I think the PHP documentor crashes on return types such as
So most of what I’ve done this afternoon wasn’t required.
And when that URL is properly formed the interstitial logout form isn’t displayed.
Just noticed that the back URL is probably not being set because the URL we’re building is malformed. It has two
? characters since the security ID is being added by SS too.
That’s currently working and since it is in a
LogoutHandler I assume it won’t leak into any other uses of