[
https://issues.apache.org/jira/browse/DERBY-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dag H. Wanvik updated DERBY-3223:
---------------------------------
Attachment: derby-3223-revise-iterator-api.stat
derby-3223-revise-iterator-api.diff
Uploading patch derby-3223-revise-iterator-api which:
- Changes the API of the role closure iterator to also return the start role.
This simplies usage in that the application code does not need to first treat
the case of the current role, and then, if necessary, look in the closure.
The API guarantees that the root will be returned first by the next method.
- Made the role closure implementation defer computing the closure until
it is needed, that is on the second call to next (optimization).
- Corrected a comment and an import statement in RolesTest.
> SQL roles: make use of privileges granted to roles in actual privilege
> checking
> -------------------------------------------------------------------------------
>
> Key: DERBY-3223
> URL: https://issues.apache.org/jira/browse/DERBY-3223
> Project: Derby
> Issue Type: Task
> Components: Security, SQL
> Reporter: Dag H. Wanvik
> Assignee: Dag H. Wanvik
> Fix For: 10.5.0.0
>
> Attachments: derby-3223-1a.diff, derby-3223-1a.stat,
> derby-3223-1b.diff, derby-3223-1b.stat, derby-3223-1c.diff,
> derby-3223-1c.stat, derby-3223-1d.diff, derby-3223-1d.stat,
> derby-3223-revise-iterator-api.diff, derby-3223-revise-iterator-api.stat,
> roles.sql, roles2.sql, roles3.sql
>
>
> Pushing out to 10.5
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.