[Flow] Suddenly I get: #1222268609: Access denied (0 denied, 0 granted, 1 abstained)

Axel Wüstemann awu at qbus.de
Wed Jan 15 14:55:58 CET 2014


Thank you Steffen, unfortunately this doesn't solve the problem. 
Deleting cache folders in Data and flushing the cache - doesn't matter.

I can avoid this by:

security:
   authorization:
     allowAccessIfAllVotersAbstain: TRUE

according to
http://docs.typo3.org/flow/TYPO3FlowDocumentation/stable/TheDefinitiveGuide/PartIII/Security.html

In my role table I have three roles
Anonymus
Everybody
LALLF.Intranet.User

In TYPO3\Flow\Security\Authorization\Voter\Policy Line 49

$securityContext->getRoles() will bring up only the role "Everybody" ...

My Policy declarations are related only to 'user'

acls:
   User:
     methods:
       LALLF_Intranet_FisheryInspection_Controllers: GRANT
       LALLF_Intranet_PhoneDirectory_Controllers: GRANT

As I said, this worked all fine before. I'm not aware of related changes 
what could lead to this behavoir now.

Are there any other hints?

Thanks
Axel




Am 07.01.2014 20:11, schrieb Steffen Wickham:
> Hello Axel,
>
> I often get this exception after adding new roles/permissions in my
> Policy.yaml and trying to access a "secured" area with an already
> authenticated user. But it worked for me after flushing the cache of
> Flow and a new login.
>
> Greetings
>
>
>
> Am 07.01.2014 18:41, schrieb Axel Wüstemann:
>> I don't know, where it comes from
>>
>> #1222268609: Access denied (0 denied, 0 granted, 1 abstained)
>>
>> Authentification worked properly, I did not change anythink by my
>> mind...?
>>
>> Could anybody explain the meaning? If authentification would fail, I
>> would get an error message to display in my logon form...
>>
>> Thank you for any hint.
>> Axel
>> _______________________________________________
>> Flow mailing list
>> Flow at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>


More information about the Flow mailing list