PHP Трейт Neos\ContentRepository\Tests\Behavior\Features\Bootstrap\NodeAuthorizationTrait

Note that this trait requires the following properties to be available: * $this->nodeAuthorizationService * $this->nodeTypeManager Note: This trait expects the IsolatedBehatStepsTrait and the NodeOperationsTrait to be available!
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$nodeAuthorizationService Neos\ContentRepository\Service\AuthorizationService
$nodeTypeManager Neos\ContentRepository\Domain\Service\NodeTypeManager

Открытые методы

Метод Описание
iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfCreatingAChildNodeOfTypeIsGranted ( string $expectedResult, string $nodeName, string $nodeTypeName )
iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfGettingThePropertyIsGranted ( $expectedResult, $propertyName )
iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfRemovalOfTheNodeIsGranted ( string $expectedResult )
iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfSettingThePropertyIsGranted ( $expectedResult, $propertyName )
iShouldGetTheFollowingListOfDeniedNodePropertiesFromTheNodeAuthorizationService ( Behat\Gherkin\Node\TableNode $table )
iShouldGetTheFollowingListOfDeniedNodeTypesForThisNodeFromTheNodeAuthorizationService ( $table )
iShouldGetTheListOfAllAvailableNodeTypesAsDeniedNodeTypesForThisNodeFromTheNodeAuthorizationService ( )
iShouldGetTrueWhenAskingTheNodeAuthorizationServiceIfEditingThePropertyIsGranted ( $expectedResult, $propertyName )
iShouldGetTrueWhenAskingTheNodeAuthorizationServiceIfEditingThisNodeIsGranted ( string $expectedResult )
iShouldNotBeGrantedToCreateANewChildNodeOfType ( string $not, string $nodeName, string $nodeType )
iShouldNotBeGrantedToGetTheProperty ( $not, $propertyName )
iShouldNotBeGrantedToRemoveTheNode ( string $not = '' )
iShouldNotBeGrantedToSetAnyOfTheNodesAttributes ( string $not = '' )
iShouldNotBeGrantedToSetThePropertyTo ( $not, $propertyName, $value )

Описание методов

iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfCreatingAChildNodeOfTypeIsGranted() публичный Метод

public iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfCreatingAChildNodeOfTypeIsGranted ( string $expectedResult, string $nodeName, string $nodeTypeName )
$expectedResult string
$nodeName string
$nodeTypeName string

iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfGettingThePropertyIsGranted() публичный Метод

iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfRemovalOfTheNodeIsGranted() публичный Метод

iShouldGetFalseWhenAskingTheNodeAuthorizationServiceIfSettingThePropertyIsGranted() публичный Метод

iShouldGetTheFollowingListOfDeniedNodePropertiesFromTheNodeAuthorizationService() публичный Метод

public iShouldGetTheFollowingListOfDeniedNodePropertiesFromTheNodeAuthorizationService ( Behat\Gherkin\Node\TableNode $table )
$table Behat\Gherkin\Node\TableNode

iShouldGetTheFollowingListOfDeniedNodeTypesForThisNodeFromTheNodeAuthorizationService() публичный Метод

iShouldGetTheListOfAllAvailableNodeTypesAsDeniedNodeTypesForThisNodeFromTheNodeAuthorizationService() публичный Метод

iShouldGetTrueWhenAskingTheNodeAuthorizationServiceIfEditingThePropertyIsGranted() публичный Метод

iShouldGetTrueWhenAskingTheNodeAuthorizationServiceIfEditingThisNodeIsGranted() публичный Метод

iShouldNotBeGrantedToCreateANewChildNodeOfType() публичный Метод

public iShouldNotBeGrantedToCreateANewChildNodeOfType ( string $not, string $nodeName, string $nodeType )
$not string
$nodeName string
$nodeType string

iShouldNotBeGrantedToGetTheProperty() публичный Метод

public iShouldNotBeGrantedToGetTheProperty ( $not, $propertyName )

iShouldNotBeGrantedToRemoveTheNode() публичный Метод

iShouldNotBeGrantedToSetAnyOfTheNodesAttributes() публичный Метод

iShouldNotBeGrantedToSetThePropertyTo() публичный Метод

public iShouldNotBeGrantedToSetThePropertyTo ( $not, $propertyName, $value )

Описание свойств

$nodeAuthorizationService защищенное свойство

protected AuthorizationService,Neos\ContentRepository\Service $nodeAuthorizationService
Результат Neos\ContentRepository\Service\AuthorizationService

$nodeTypeManager защищенное свойство

protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager
Результат Neos\ContentRepository\Domain\Service\NodeTypeManager