src/Controller/DefaultController.php
public static function permissions(): array
    {
        $aPermissions = parent::permissions();

        if (!empty(static::CONFIG_PERMISSION)) {
            $aPermissions['browse']  = 'Can browse items';
            $aPermissions['create']  = 'Can create items';
            $aPermissions['edit']    = 'Can edit items';
            $aPermissions['delete']  = 'Can delete items';
            $aPermissions['restore'] = 'Can restore items';
        }

        return $aPermissions;
    }
public static function permissions(): array
    {
        $aPermissions = parent::permissions();

        if (!empty(static::CONFIG_PERMISSION)) {
            $aPermissions['browse']  = 'Can browse items';
            $aPermissions['create']  = 'Can create items';
            $aPermissions['edit']    = 'Can edit items';
            $aPermissions['delete']  = 'Can delete items';
            $aPermissions['restore'] = 'Can restore items';
        }

        return $aPermissions;
    }
Returns an array of extra permissions for this controller

@return array