[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-25 Thread Yip Ng (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12430438 ] Yip Ng commented on DERBY-1330: --- How does the PermissionsCache work with respect to passing two type of keys to represent the same PermissionDescriptor? If an

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-25 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12430533 ] Mamta A. Satoor commented on DERBY-1330: Yip, the NPE behavrior you are describing is something I had run into before the dependency manager (DM) was

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-25 Thread Yip Ng (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12430545 ] Yip Ng commented on DERBY-1330: --- Mamta, thanks for those jira links. My actual concern is the working of the permission cache. From what I interpret from those

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-25 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12430551 ] Mamta A. Satoor commented on DERBY-1330: Yip, I thought you were running into NPE with the functionality implemented so far. As for when the

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-25 Thread Yip Ng (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12430565 ] Yip Ng commented on DERBY-1330: --- Yes, it is unfortunate indeed. The permissions cache won't work properly when we are dealing with 2 types of keys associated with

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-24 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12430191 ] Mamta A. Satoor commented on DERBY-1330: Yip, I would like to debug the behavior you mentioned. Do you have a test case that I could try to reproduce the

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-24 Thread Yip Ng (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12430325 ] Yip Ng commented on DERBY-1330: --- Mamta, one can reproduce this by reading the entries from SYSDEPENDS that has a row that have a tableperms as its provider id. For

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-24 Thread Yip Ng (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12430351 ] Yip Ng commented on DERBY-1330: --- I noticed getPersistentProviderInfos() are overloaded, so to be precise, call getPersistentProviderInfos(Dependent) with a

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-04 Thread Laura Stewart (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12425914 ] Laura Stewart commented on DERBY-1330: -- I want to be certain that I understand cascading object dependencies. Please correct any errors that I have in the

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-04 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12425919 ] Mamta A. Satoor commented on DERBY-1330: Laura, your understanding of the current behavior for revoke statement and views is correct. This behavior

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-04 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12425933 ] Mamta A. Satoor commented on DERBY-1330: Basically, during an object create time, Derby will first look for the required privilege at the user level. If

Re: [jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-02 Thread Laura Stewart
*** (LS) Thank you Mamta. This is very helpful. I don't think that the Derby docs do a good job of describing the difference between user authentication and user authorization, and I will update the draft text that I posted for grant/revoke to make it more clear what the different properties

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-08-01 Thread Laura Stewart (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12424980 ] Laura Stewart commented on DERBY-1330: -- In the spec AuthorizationModelForDerbySQLStandardAuthorizationV2.html, I am not sure that I understand the sentences

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-20 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12422435 ] Daniel John Debrunner commented on DERBY-1330: -- Patch Derby1330setUUIDinDataDictionaryV10diff.txt Committed revision 423949. - Thanks Mamta Provide

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-19 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12422262 ] Daniel John Debrunner commented on DERBY-1330: -- I get this compile error applying this patch; Derby1330setUUIDinDataDictionaryV8diff.txt [javac]

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-18 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12421902 ] Mamta A. Satoor commented on DERBY-1330: Please disregard change to RAFContainer.java in Derby1330setUUIDinDataDictionaryV8diff.txt. Let me know if I

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-18 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12421961 ] Daniel John Debrunner commented on DERBY-1330: -- Patch Derby1330MinorCleanupV7diff.txt applied - Committed revision 423232. - thanks Mamta Provide

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-18 Thread Andrew McIntyre (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12422021 ] Andrew McIntyre commented on DERBY-1330: Committed DERBY-1330javaDocWarningsDiffV9.txt patch to trunk with revision 423352. Note that in two cases, the

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-13 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420911 ] Mamta A. Satoor commented on DERBY-1330: Just wondered if anyone got a chance to look at the patch Derby1330uuidIndexForPermsSystemTablesV6diff.txt. This one is a

Re: [jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-11 Thread Knut Anders Hatlen
Mike Matrigali [EMAIL PROTECTED] writes: Mamta A. Satoor (JIRA) wrote: [ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420145 ] Mamta A. Satoor commented on DERBY-1330: Mike responded following on the mailing list

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-11 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420337 ] Mamta A. Satoor commented on DERBY-1330: I have come across one test failure in derbyall suite with my changes, so please don't commit the latest patch just yet.

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-11 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420499 ] Daniel John Debrunner commented on DERBY-1330: -- Mamta wrote: - In my earlier patch, I had forgotten to reset the uuid in TablePrivilegeInfo.executeGrantRevoke

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-11 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420503 ] Daniel John Debrunner commented on DERBY-1330: -- Derby1330uuidIndexForPermsSystemTablesV5diff.txt Patch committed - Committed revision 421118 - Thanks Mamta!

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-10 Thread Knut Anders Hatlen (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420027 ] Knut Anders Hatlen commented on DERBY-1330: --- I have seen this regression test failure a couple of times lately. Could it be related to this issue? * Diff

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-10 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420121 ] Mamta A. Satoor commented on DERBY-1330: Knut, the diffs you are noticing is in one of the new tests that I added to grantRevokeDDL.sql The diff is for following

Re: [jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-10 Thread Mike Matrigali
Mamta A. Satoor (JIRA) wrote: Is this a Java behavior that you can count on the order in which items will be added and retrieved from HashMap? At this point, I am not sure, how to make sure that items get added and retrieved in the same order from the HashMap so that we will have

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-10 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420145 ] Mamta A. Satoor commented on DERBY-1330: Mike responded following on the mailing list quote I do not believe you can count on the order of a HashMap, different JVM's

Re: [jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-10 Thread Mike Matrigali
Mamta A. Satoor (JIRA) wrote: [ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12420145 ] Mamta A. Satoor commented on DERBY-1330: Mike responded following on the mailing list quote I do not believe you can count on the

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-09 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12419921 ] Daniel John Debrunner commented on DERBY-1330: -- Patch Derby1330PrivilegeCollectionV3diff.txt Committed revision 420306 - Thanks Mamta Provide runtime privilege

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-08 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12419887 ] Mamta A. Satoor commented on DERBY-1330: derbyall suite finished with no new failures. Provide runtime privilege checking for grant/revoke functionality

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-07 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12419792 ] Daniel John Debrunner commented on DERBY-1330: -- I'm starting to look at the patch, I'm a little confused by your references to 'add a row to SYSDEPENDS'. Is

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-07 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12419797 ] Mamta A. Satoor commented on DERBY-1330: I am using the dependency manager and not touching SYSDEPENDS directly through my code changes. I will change the code

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-07 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12419836 ] Daniel John Debrunner commented on DERBY-1330: -- What would be really helpful if was if this patch was split into multiple patches. I'm finally realizing the

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-07-06 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12419438 ] Mamta A. Satoor commented on DERBY-1330: Wondered if anyone got a chance to look at the patch. Provide runtime privilege checking for grant/revoke functionality

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-06-30 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12418661 ] Daniel John Debrunner commented on DERBY-1330: -- Comment on QueryTreeNode changes and related items: I think the logic for what you are trying to do is correct,

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-06-30 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12418678 ] Mamta A. Satoor commented on DERBY-1330: Based on Dan's feedback on QueryNode, I am proposing the method name to be changed from isExecutingWithInvokerPrivileges to

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-06-27 Thread Daniel John Debrunner (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12418146 ] Daniel John Debrunner commented on DERBY-1330: -- Just from a quick look at the patch there are many cases where you add a new method or field and add comments,

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-06-27 Thread Mamta A. Satoor (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12418151 ] Mamta A. Satoor commented on DERBY-1330: I will go ahead and change those comments to javadoc comments. Should have done them proactively :( I will wait for more

[jira] Commented: (DERBY-1330) Provide runtime privilege checking for grant/revoke functionality

2006-05-23 Thread Satheesh Bandaram (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1330?page=comments#action_12413026 ] Satheesh Bandaram commented on DERBY-1330: -- Interesting idea from Dan... about need to have SYSREQUIREDPERM system table. It does look possible,