[ 
https://issues.apache.org/jira/browse/DERBY-6717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen updated DERBY-6717:
--------------------------------------

    Attachment: d6717-2a-more-tests.diff

[^d6717-2a-more-tests.diff] adds more cases to SystemPrivilegesPermissionTest 
to cover some edges of SystemPermissionCollection.implies() that were not 
tested before. JaCoCo now reports that all the code added by the 1a patch is 
covered by SystemPrivilegesPermissionTest.

> Policies with multiple SystemPermissions are not handled well
> -------------------------------------------------------------
>
>                 Key: DERBY-6717
>                 URL: https://issues.apache.org/jira/browse/DERBY-6717
>             Project: Derby
>          Issue Type: Bug
>          Components: Services
>    Affects Versions: 10.11.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>             Fix For: 10.12.0.0
>
>         Attachments: d6717-1a.diff, d6717-2a-more-tests.diff
>
>
> Rick noted in DERBY-6648 that if you wanted to grant both 
> SystemPermission("engine", "monitor") and SystemPermission("engine", 
> "usederbyinternals") to a code base, the following would work:
> permission org.apache.derby.security.SystemPermission "engine", 
> "monitor,usederbyinternals";
> However, the following does not work:
> permission org.apache.derby.security.SystemPermission "engine", 
> "usederbyinternals";
> permission org.apache.derby.security.SystemPermission "engine", "monitor";



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to