resources:
  methods:
    MOC_Varnish_Backend_Module_Varnish_ClearCache: 'method(MOC\Varnish\Controller\VarnishCacheController->.*Action())'

acls:
  'TYPO3.Neos:Administrator':
    methods:
      MOC_Varnish_Backend_Module_Varnish_ClearCache: GRANT
privilegeTargets:
  'TYPO3\Flow\Security\Authorization\Privilege\Method\MethodPrivilege':
    'MOC.Varnish:BackendModuleClearCache':
      matcher: 'within(MOC\Varnish\Controller\VarnishCacheController) && method(public .*->(?!initialize).*Action())'

roles:
  'TYPO3.Flow:Everybody':
    privileges:
      -
        privilegeTarget: 'MOC.Varnish:BackendModuleClearCache'
        permission: GRANT
Adjust policies to Flow 3.0
[TASK] Adjust policies to Flow 3.0
