You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Satheesh Bandaram <ba...@gmail.com> on 2006/04/01 09:13:18 UTC

Re: [jira] Updated: (DERBY-464) 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.

Thanks for contributing the test. It does need some time to make it work on
Derby by modifying some of the items I mentioned earlier. Also need to setup
users referenced in the test and enable authentication. I am not sure when I
will be able to get to this.

I did work on getting nist suite to pass with SQL authorization enabled.
Once I confirm test changes I made, I will submit that.

Satheesh

On 3/28/06, Michelle Caisse (JIRA) <de...@db.apache.org> wrote:
>
>      [ http://issues.apache.org/jira/browse/DERBY-464?page=all ]
>
> Michelle Caisse updated DERBY-464:
> ----------------------------------
>
>     Attachment: Privileges2.java
>
> This attachment, Privileges2.java supercedes the previous one.  It
> contains the Apache license test.  My management at Sun Microsystems has
> authorized me to donated this code to Apache Derby. It will need substantial
> rework for use with Derby outside of the test framework for which it was
> written.  I hope that it is useful.
>
> > 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.
> >
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> >          Key: DERBY-464
> >          URL: http://issues.apache.org/jira/browse/DERBY-464
> >      Project: Derby
> >         Type: New Feature
> >   Components: SQL
> >     Versions: 10.0.2.1, 10.1.1.0, 10.2.0.0
> >  Environment: generic
> >     Reporter: Satheesh Bandaram
> >     Assignee: Satheesh Bandaram
> >  Attachments: GrantRevokePartII.stat, GrantRevokePartII.txt,
> GrantRevokePartII.txt, Privileges.java, Privileges2.java,
> changeDescriptionPartII, grantRevoke.patch.Dec5, grantRevoke.stat.Dec5,
> grantRevokeSpec.html, grantRevokeSpec_v2.html
> >
> > 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.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>