concrete/controllers/dialog/file/import.php
protected function getCurrentFolderPermissions()
    {
        if ($this->currentFolderPermissions === null) {
            $folder = $this->getCurrentFolder();
            if ($folder === null) {
                $folder = $this->app->make(Filesystem::class)->getRootFolder();
                if ($folder === null) {
                    $folder = new FileFolder();
                }
            }
            $this->currentFolderPermissions = new Checker($folder);
        }

        return $this->currentFolderPermissions;
    }
protected function getCurrentFolderPermissions()
    {
        if ($this->currentFolderPermissions === null) {
            $folder = $this->getCurrentFolder();
            if ($folder === null) {
                $folder = $this->app->make(Filesystem::class)->getRootFolder();
                if ($folder === null) {
                    $folder = new FileFolder();
                }
            }
            $this->currentFolderPermissions = new Checker($folder);
        }

        return $this->currentFolderPermissions;
    }
protected function getCurrentFolderPermissions ( ) { if ( $ this -> currentFolderPermissions === null ) { $ folder = $ this -> getCurrentFolder ( ) ; if ( $ folder === null ) { $ folder = $ this -> app -> make ( Filesystem :: class ) -> getRootFolder ( ) ; if ( $ folder === null ) { $ folder = new FileFolder ( ) ; } } $ this -> currentFolderPermissions = new Checker ( $ folder ) ; } return $ this -> currentFolderPermissions ; }
Get the permissions for the current folder.

@return \Concrete\Core\Permission\Checker
Get the permissions for the current folder .