db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6717) Policies with multiple SystemPermissions are not handled well
Date Fri, 29 Aug 2014 08:25:53 GMT

     [ 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:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>             Fix For:
>         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

View raw message