src/Admin/AbstractAdmin.php
protected function getAccess()
    {
        $access = array_merge([
            'acl' => 'MASTER',
            'export' => 'EXPORT',
            'historyCompareRevisions' => 'EDIT',
            'historyViewRevision' => 'EDIT',
            'history' => 'EDIT',
            'edit' => 'EDIT',
            'show' => 'VIEW',
            'create' => 'CREATE',
            'delete' => 'DELETE',
            'batchDelete' => 'DELETE',
            'list' => 'LIST',
        ], $this->getAccessMapping());

        foreach ($this->extensions as $extension) {
            // TODO: remove method check in next major release
            if (method_exists($extension, 'getAccessMapping')) {
                $access = array_merge($access, $extension->getAccessMapping($this));
            }
        }

        return $access;
    }
protected function getAccess()
    {
        $access = array_merge([
            'acl' => 'MASTER',
            'export' => 'EXPORT',
            'historyCompareRevisions' => 'EDIT',
            'historyViewRevision' => 'EDIT',
            'history' => 'EDIT',
            'edit' => 'EDIT',
            'show' => 'VIEW',
            'create' => 'CREATE',
            'delete' => 'DELETE',
            'batchDelete' => 'DELETE',
            'list' => 'LIST',
        ], $this->getAccessMapping());

        foreach ($this->extensions as $extension) {
            // TODO: remove method check in next major release
            if (method_exists($extension, 'getAccessMapping')) {
                $access = array_merge($access, $extension->getAccessMapping($this));
            }
        }

        return $access;
    }
protected function getAccess ( ) { $ access = array_merge ( [ 'acl' => 'MASTER' , 'export' => 'EXPORT' , 'historyCompareRevisions' => 'EDIT' , 'historyViewRevision' => 'EDIT' , 'history' => 'EDIT' , 'edit' => 'EDIT' , 'show' => 'VIEW' , 'create' => 'CREATE' , 'delete' => 'DELETE' , 'batchDelete' => 'DELETE' , 'list' => 'LIST' , ] , $ this -> getAccessMapping ( ) ) ; foreach ( $ this -> extensions as $ extension ) { // TODO: remove method check in next major release if ( method_exists ( $ extension , 'getAccessMapping' ) ) { $ access = array_merge ( $ access , $ extension -> getAccessMapping ( $ this ) ) ; } } return $ access ; }
Return list routes with permissions name.

@return array
Return list routes with permissions name .