[FLOW3-general] Security: You are not allowed to perform this action
Julian Kleinhans
typo3 at kj187.de
Tue May 10 22:27:22 CEST 2011
Hey list..
with the latest master i get a strange exception..
I create a new user with
> $account = $this->accountFactory->createAccountWithPassword('jk',
'jk', array('Administrator'));
> $this->accountRepository->add($account);
injections
> /**
> * @inject
> * @var \F3\FLOW3\Security\AccountRepository
> */
> protected $accountRepository;
>
> /**
> * @inject
> * @var \F3\FLOW3\Security\AccountFactory
> */
> protected $accountFactory;
my Policy.yaml looks like
> resources:
> methods:
> F3_Tutorials_RestrictedAdminArea:
'class(F3\Tutorials\Controller\Admin\.*)'
> roles:
> Administrator: []
> acls:
> Administrator:
> methods:
> F3_Tutorials_RestrictedAdminArea: GRANT
> F3_Tutorials_RestrictedDashbaord: GRANT
> F3_Tutorials_Comments: GRANT
an when i try to login i get this Exception
> #1216919280: You are not allowed to perform this action. (More
information)
>
> F3\FLOW3\Security\Exception\AccessDeniedException thrown in file
>
/data/htdocs/privat/tutorials3/flow3/FLOW3/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_FLOW3_Security_Authorization_Interceptor_AccessDeny_Original.php
in line 41.
Some ideas ?
greetz
julian
More information about the FLOW3-general
mailing list