Issue Details (XML | Word | Printable)

Key: DERBY-464
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Satheesh Bandaram
Votes: 2
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Enhance Derby by adding grant/revoke support. Grant/Revoke provide finner level of privileges than currently provided by Derby that is especially useful in network configurations.

Created: 16/Jul/05 09:43 AM   Updated: 01/Jul/09 12:34 AM
Return to search
Component/s: SQL
Affects Version/s: 10.0.2.1, 10.1.1.0, 10.2.1.6
Fix Version/s: 10.2.1.6

Time Tracking:
Issue & Sub-Tasks
Issue Only
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works changeDescriptionPartII 2006-02-25 12:48 AM Satheesh Bandaram 4 kB
Text File Licensed for inclusion in ASF works grantRevoke.patch.Dec5 2005-12-07 12:15 AM Satheesh Bandaram 447 kB
Text File Licensed for inclusion in ASF works grantRevoke.stat.Dec5 2005-12-07 12:15 AM Satheesh Bandaram 5 kB
File Licensed for inclusion in ASF works GrantRevokePartII.stat 2006-02-25 12:48 AM Satheesh Bandaram 3 kB
Text File Licensed for inclusion in ASF works GrantRevokePartII.txt 2006-02-25 12:48 AM Satheesh Bandaram 188 kB
Text File Licensed for inclusion in ASF works GrantRevokePartII.txt 2006-02-20 11:22 PM Satheesh Bandaram 188 kB
HTML File Licensed for inclusion in ASF works grantRevokeSpec.html 2006-02-16 05:30 PM Satheesh Bandaram 27 kB
HTML File Licensed for inclusion in ASF works grantRevokeSpec_v2.html 2006-03-12 05:01 AM Satheesh Bandaram 33 kB
HTML File Licensed for inclusion in ASF works grantRevokeSpec_v3.html 2006-07-24 11:25 PM Satheesh Bandaram 29 kB
HTML File Licensed for inclusion in ASF works grantRevokeSpec_v4.html 2006-07-25 05:24 PM Mamta A. Satoor 32 kB
HTML File Licensed for inclusion in ASF works grantRevokeSpec_v4_1.html 2006-07-25 07:44 PM Mamta A. Satoor 32 kB
HTML File Licensed for inclusion in ASF works grantRevokeSpec_v5.html 2006-08-13 02:35 PM Satheesh Bandaram 32 kB
Java Source File Licensed for inclusion in ASF works Privileges.java 2006-03-29 07:49 AM Michelle Caisse 47 kB
Java Source File Licensed for inclusion in ASF works Privileges2.java 2006-03-29 09:20 AM Michelle Caisse 47 kB
Environment: generic
Issue Links:
Incorporates
 
Reference

Urgency: Normal
Resolution Date: 18/Sep/06 03:44 PM

Sub-Tasks  All   Open   

 Description  « Hide
Derby currently provides a very simple permissions scheme, which is quite suitable for an embedded database system. End users of embedded Derby do not see Derby directly; they talk to a application that embeds Derby. So Derby left most of the access control work to the application. Under this scheme, Derby limits access on a per database or per system basis. A user can be granted full, read-only, or no access.

This is less suitable in a general purpose SQL server. When end users or diverse applications can issue SQL commands directly against the database, Derby must provide more precise mechanisms to limit who can do what with the database.

I propose to enhance Derby by implementing a subset of grant/revoke capabilities as specified by the SQL standard. I envision this work to involve the following tasks, at least:

1) Develop a specification of what capabilities I would like to add to Derby.
2) Provide a high level implementation scheme.
3) Pursue a staged development plan, with support for DDL added to Derby first.
4) Add support for runtime checking of these privileges.
5) Address migration and upgrade issues from previous releases and from old scheme to newer database.

Since I think this is a large task, I would like to invite any interested people to work with me on this large and important enhancement to Derby.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.