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!
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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