src/SelectUploadField.php
public function getCanSelectFolder()
    {
        if (!$this->isActive()) {
            return false;
        }
        if ($this->template && in_array($this->template, self::config()->disable_for_templates)) {
            return false;
        }
        // Check config
        $can = $this->canSelectFolder;
        return (is_bool($can)) ? $can : Permission::check($can);
    }
public function getCanSelectFolder()
    {
        if (!$this->isActive()) {
            return false;
        }
        if ($this->template && in_array($this->template, self::config()->disable_for_templates)) {
            return false;
        }
        // Check config
        $can = $this->canSelectFolder;
        return (is_bool($can)) ? $can : Permission::check($can);
    }
Determine if the current member is allowed to change the folder

@return boolean