[
https://issues.apache.org/jira/browse/DERBY-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dag H. Wanvik updated DERBY-3722:
---------------------------------
Attachment: derby-3722-3.stat
derby-3722-3.diff
I made a new version of the patch, derby-3722-3, which lets the
iterator's 'next' method return a role name string instead of the
RoleGrantDescriptor in the graph. This simplifies usage.
I also fixed the typo pointed out by Rick, and started using
BaseTestCase#fail in RolesTest where exception chaining is
useful.
Version 2 of the patch passed regression tests, so I expect this one
to it as well, although not finished yet.
> Add circularity check for the GRANT role statement
> --------------------------------------------------
>
> Key: DERBY-3722
> URL: https://issues.apache.org/jira/browse/DERBY-3722
> Project: Derby
> Issue Type: Sub-task
> Components: Security, SQL
> Reporter: Dag H. Wanvik
> Assignee: Dag H. Wanvik
> Fix For: 10.5.0.0
>
> Attachments: derby-3722-1.diff, derby-3722-1.stat, derby-3722-2.diff,
> derby-3722-2.stat, derby-3722-3.diff, derby-3722-3.stat
>
>
> When a role is granted to another role (with the GRANT <role> statement), we
> need to check that the grant relation does not give rise to a circularity.
> This is described in Section 12.5, Syntax rule 1 of ISO/IEC 9075-2 2003.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.