[
https://issues.apache.org/jira/browse/WOOKIE-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Sharples updated WOOKIE-305:
---------------------------------
Attachment: Policies.java.patch
I have created a patch which fixes this, but I haven't committed it yet, just
in case there is a reason for this behaviour. Also although the patch seems to
work, it feels like a bit of a kludge. It drops the original policy entry if
it exists and replaces it with the new value. (even if the new policy hasn't
changed from the old one)
> Policies allow you to define the same policy twice - once with ALLOW and once
> with DENY
> ---------------------------------------------------------------------------------------
>
> Key: WOOKIE-305
> URL: https://issues.apache.org/jira/browse/WOOKIE-305
> Project: Wookie
> Issue Type: Bug
> Components: Server
> Affects Versions: 0.9.2
> Environment: Win x86 sp1.
> Reporter: Paul Sharples
> Fix For: 0.9.2
>
> Attachments: Policies.java.patch
>
>
> To replicate start wookie and goto the polices part of the admin section
> (viewwhitelist.jsp).
> Notice how the weather widgets policy is already there...
> http://www.getwookie.org/widgets/weather http://newsrss.bbc.co.uk:80 ALLOW
> Next in the box 'add a policy' below the list add the following to change
> this entry to denied
> http://www.getwookie.org/widgets/weather http://newsrss.bbc.co.uk:80 DENY
> I would expect the original entry to update, but instead there are now two
> entries for the same policy.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira