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

Andreas Förthner andreas.foerthner at netlogix.de
Wed Jan 15 15:06:42 CET 2014


Hi Axel,

could you paste the whole policy and security settings? Probably there is
something wrong with your provider configuration and/or resources
definitions.

Greets Andi

Am 15.01.14 14:55 schrieb "Axel Wüstemann" unter <awu at qbus.de>:

>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/TheDefinitiveGuid
>e/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
>>
>_______________________________________________
>Flow mailing list
>Flow at lists.typo3.org
>http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list