PHP Class Neos\Flow\Tests\Functional\Security\Fixtures\Controller\RestrictedController

Inheritance: extends Neos\Flow\Mvc\Controller\ActionController
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
adminAction ( ) : string This action is restricted to accounts with the role Administrator by a policy in the Flow package's Testing context configuration.
argumentsAction ( string $argument1, string $argument2 = 'default' ) : string
customerAction ( ) : string This action is restricted to accounts with the role Customer by a policy in the Flow package's Testing context configuration.
publicAction ( ) : string This action is not restricted in a policy, everybody can access it

Method Details

adminAction() public method

This action is restricted to accounts with the role Administrator by a policy in the Flow package's Testing context configuration.
public adminAction ( ) : string
return string

argumentsAction() public method

public argumentsAction ( string $argument1, string $argument2 = 'default' ) : string
$argument1 string
$argument2 string
return string

customerAction() public method

This action is restricted to accounts with the role Customer by a policy in the Flow package's Testing context configuration.
public customerAction ( ) : string
return string

publicAction() public method

This action is not restricted in a policy, everybody can access it
public publicAction ( ) : string
return string