This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
privilegeTargets: | |
'Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\EntityPrivilege': | |
'Acme.Package:Site.Alpha': | |
matcher: 'isType("Neos\Neos\Domain\Model\Site") && property("nodeName") == "alpha"' | |
'Acme.Package:Site.Beta': | |
matcher: 'isType("Neos\Neos\Domain\Model\Site") && property("nodeName") == "beta"' | |
'Neos\Neos\Security\Authorization\Privilege\NodeTreePrivilege': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
privilegeTargets: | |
'Wwwision\AssetConstraints\Security\Authorization\Privilege\ReadAssetPrivilege': | |
'Acme.Package:Assets.Alpha': | |
matcher: 'isInCollection("Alpha")' | |
'Acme.Package:Assets.Beta': | |
matcher: 'isInCollection("Beta")' | |
'Wwwision\AssetConstraints\Security\Authorization\Privilege\ReadAssetCollectionPrivilege': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
privilegeTargets: | |
'Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\EntityPrivilege': | |
'Acme.Package:NotUsersSite': | |
matcher: 'isType("Neos\Neos\Domain\Model\Site") && property("nodeName") != "context.userInformationContext.account.accountIdentifier"' | |
'Wwwision\AssetConstraints\Security\Authorization\Privilege\ReadAssetPrivilege': | |
'Acme.Package:NotUsersAssets': | |
matcher: '!(isInCollection("context.userInformationContext.site.propertyName") || isWithoutCollection())' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
roles: | |
'Neos.Flow:Anonymous': | |
privileges: | |
- | |
privilegeTarget: 'Acme.Package:Site.Alpha' | |
permission: GRANT | |
- | |
privilegeTarget: 'Acme.Package:Site.Beta' | |
permission: GRANT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
privilegeTargets: | |
'Neos\Flow\Security\Authorization\Privilege\Entity\Doctrine\EntityPrivilege': | |
'Acme.Package:Site.Alpha': | |
matcher: 'isType("Neos\Neos\Domain\Model\Site") && property("nodeName") == "alpha"' | |
'Acme.Package:Site.Beta': | |
matcher: 'isType("Neos\Neos\Domain\Model\Site") && property("nodeName") == "beta"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
roles: | |
'Acme.Package:Alpha': | |
privileges: | |
- | |
privilegeTarget: 'Acme.Package:Nodes.Alpha' | |
permission: GRANT | |
'Acme.Package:Beta': | |
privileges: | |
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
privilegeTargets: | |
'Neos\Neos\Security\Authorization\Privilege\NodeTreePrivilege': | |
'Acme.Package:Nodes.Alpha': | |
matcher: 'isDescendantNodeOf("/sites/alpha")' | |
'Acme.Package:Nodes.Beta': | |
matcher: 'isDescendantNodeOf("/sites/beta")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Neos: | |
Flow: | |
security: | |
authentication: | |
providers: | |
NeosBackendProvider: | |
provider: 'Acme\Package\Security\Authentication\Provider\SiteAwarePersistedUsernamePasswordProvider' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root.footer { | |
@position = 'before default' | |
condition = ${request.parentRequest.uri.path == '/footer.html'} | |
renderPath = '/footer' | |
} | |
footer < page.footer # reference to footer TypoScript path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Acme\Demo; | |
use TYPO3\Flow\Package\Package as BasePackage; | |
use TYPO3\TYPO3CR\Domain\Model\NodeInterface; | |
class Package extends BasePackage { | |
/** | |
* @var \TYPO3\TYPO3CR\Domain\Service\NodeTypeManager nodeTypeManager |
NewerOlder