Bug #5180
Documentation: Security Framework, 2 examples have a mistake.
100%
Description
I think I have found 2 errors in the documentation.
Example roles definition in the FLOW3.yaml file
Customer:
a Role without an Array ( [] ) didnt work.
@Invalid argument supplied for foreach
Packages/Framework/FLOW3/Classes/Security/ACL/PolicyService.php:
00265: foreach ($this->roles[$role] .....@
Example for the ifAccess view helper
<f:security.ifAccess resource="someResource">
This is being shown in case you have access to the given resource
</f:if>
The closing tag is not correct.
--
greetings
Tommy
Updated by Andreas Förthner over 11 years ago
Hi,
thanks for your findings. I would say the first one is no documentation mistake, but an actual bug in the policy service, right? I will fix this asap.
Greets Andi
Updated by Karsten Dambekalns over 11 years ago
Andreas Förthner wrote:
Hi,
thanks for your findings. I would say the first one is no documentation mistake, but an actual bug in the policy service, right? I will fix this asap.
Will the second one be fixed before November 2nd? Then it'll be in time for alpha 6.
Updated by Andreas Förthner over 11 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r3383.