GreXXL
With debug=on, it was throwing this:
`* lack of permissions. This is about *authorization*, i.e. retrying such a
* request / operation without a change in permissions (or using another
* user account) is pointless.
*
* @param bool $condition
* @throws PermissionDeniedException
*/
public function assertPermission($condition)
{
if (! $condition) {
throw new PermissionDeniedException;
}
}
/**
* Ensure the given actor is authenticated.
*
* This will throw an exception for guest users, signaling that
* authorization failed. Thus, they could retry the operation after
* logging in (or using other means of authentication).`
Path: /home/username/example.com/vendor/flarum/core/src/User/User.php