src/Annotations/CtrlAuth.php
protected function processPermissions()
    {
        $permissions = (array)$this->permissions;
        if (isset($this->authorized)) {
            $loggedInPermission = $this->authorized ? User::PERMISSION_LOGGED_IN : User::PERMISSION_NOT_LOGGED_IN;
            array_unshift($permissions, $loggedInPermission);
        }
        $this->permissions = array_unique($permissions, SORT_STRING);
    }
protected function processPermissions()
    {
        $permissions = (array)$this->permissions;
        if (isset($this->authorized)) {
            $loggedInPermission = $this->authorized ? User::PERMISSION_LOGGED_IN : User::PERMISSION_NOT_LOGGED_IN;
            array_unshift($permissions, $loggedInPermission);
        }
        $this->permissions = array_unique($permissions, SORT_STRING);
    }
Process permissions