Skip to content

Commit

Permalink
MERGE:Merge branch '3.3' into '4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsunet committed Jun 15, 2019
2 parents d18da48 + 60aa2cb commit adf69c6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Configuration/Policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ privilegeTargets:
matcher: 'method(Neos\FluidAdaptor\ViewHelpers\Widget\Controller\AutocompleteController->(index|autocomplete)Action()) || method(Neos\FluidAdaptor\ViewHelpers\Widget\Controller\PaginateController->indexAction()) || method(Neos\ContentRepository\ViewHelpers\Widget\Controller\PaginateController->indexAction()) || method(Neos\Neos\ViewHelpers\Widget\Controller\LinkRepositoryController->(index|search|lookup)Action())'

'Neos.Neos:PublicFrontendAccess':
matcher: 'method(Neos\Neos\Controller\Frontend\NodeController->showAction()) || method(Neos\Neos\TypeConverter\NodeConverter->prepareContextProperties(workspaceName === "live"))'
matcher: 'method(Neos\Neos\Controller\Frontend\NodeController->showAction())'

'Neos.Neos:PublicWorkspaceAccess':
matcher: 'method(Neos\ContentRepository\Domain\Service\Context->validateWorkspace()) && evaluate(this.workspace.publicWorkspace === true)'

'Neos.Neos:OtherWorkspacesAccess':
matcher: 'method(Neos\ContentRepository\Domain\Service\Context->validateWorkspace()) && evaluate(this.workspace.publicWorkspace === false) && evaluate(this.workspace.personalWorkspace === false)'

'Neos.Neos:BackendLogin':
matcher: 'method(Neos\Neos\Controller\LoginController->(index|tokenLogin|authenticate)Action()) || method(Neos\Flow\Security\Authentication\Controller\AbstractAuthenticationController->authenticateAction())'
Expand Down Expand Up @@ -144,6 +150,10 @@ roles:
privilegeTarget: 'Neos.Neos:PublicFrontendAccess'
permission: GRANT

-
privilegeTarget: 'Neos.Neos:PublicWorkspaceAccess'
permission: GRANT

-
privilegeTarget: 'Neos.Neos:BackendLogin'
permission: GRANT
Expand Down Expand Up @@ -243,6 +253,10 @@ roles:
privilegeTarget: 'Neos.Neos:Backend.Module.Management.History'
permission: GRANT

-
privilegeTarget: 'Neos.Neos:OtherWorkspacesAccess'
permission: GRANT

'Neos.Neos:RestrictedEditor':
parentRoles: ['Neos.Neos:AbstractEditor']

Expand Down

0 comments on commit adf69c6

Please sign in to comment.