RE: Restricting access to /history?
Hi, Warwick! > Is there any reason that I shouldn't be able to restrict > client access to every directory under /slide other than > files. For instance I don't want the client to see /history > or /actions or /users. Does the client ever need access to > any of these paths for a legitimate reason or can the client > be constrained to making DAV requests under the /files path > with no ill-effects? May I ask what do you mean by "restrict"? Is it "restrict by means of "permissions" or "restrict by means of the scope exposed to users"? If it's about permissions, I believe the following access rights should be granted: If you store the versions of your files under the /history (the default setting) then every user that can create/update a versioned file needs inheritable "write" permissions to this directory. Every user needs inheritable "read" access to the /users (again, if you store user profiles there). I thought the same rule applies to the /actions but looks like it doesn't - by default an ordinary user has no access rights to this directory and we use the default setting. And every user should have the non-inheritable read permission to the root directory (i.e. / ). Otherwise some nasty exception is thrown, can't remember the details, can check if you're curious. If you just want to use the "scope" parameter of the Slide servlet like this scope /files then you can do it without any problem, I think. BTW, we use Slide 2.0 and standard TxXMLFileDescriptorsStore & TxFileContentStore Yours sincerely, Andrey. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Restricting access to /history?
Hi, Is there any reason that I shouldn't be able to restrict client access to every directory under /slide other than files. For instance I don't want the client to see /history or /actions or /users. Does the client ever need access to any of these paths for a legitimate reason or can the client be constrained to making DAV requests under the /files path with no ill-effects? Thanks, Warwick
RE: Deleting a specific version
I don't know why it was done this way originally but I think I saw a submission to the slide head branch that said something to the effect that this restriction had been removed. So if you need to delete the versions then you will be able to do this with a build from the head. I had the same problem and went the route of not deleting the individual versions but using the UPDATE commmand to "point" the working resource (under /files) to the earlier version instead of the latest on the branch -- which basically terminates the branch and returns the active branch for the file to the revision I select. But to then be able to continue to add new revisions slide has to branch from the new revision. Eg. 1.3 becomes 1.3.1 so you have to set the "checkin-fork" and "checkout-fork" parameters in the domain.xml appropriately to enable forking. You can delete all the revisions at one time by deleting the directory in which they're kept. So when the file is deleted I delete all the versions at once at that time. Warwick > -Original Message- > From: tm hll [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 03, 2005 3:58 PM > To: slide-user@jakarta.apache.org > Subject: Deleting a specific version > > > Hi > Slide doesn't seem to allow deleting a specific > version of an object. > > I tried to delete a specific version of an object by > passing a history url through the client and > debugging-stepping through the server. > > Is this intentional ? Why ? > > The Delta-V specification at only says :- > (http://www.webdav.org/deltav/protocol/rfc3253.html#rfc.iref.35) > > '(DAV:no-version-delete): A server MAY fail an attempt > to DELETE a version.' > > > Thank you > Tom > > > Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Deleting a specific version
Hi Slide doesn't seem to allow deleting a specific version of an object. I tried to delete a specific version of an object by passing a history url through the client and debugging-stepping through the server. Is this intentional ? Why ? The Delta-V specification at only says :- (http://www.webdav.org/deltav/protocol/rfc3253.html#rfc.iref.35) '(DAV:no-version-delete): A server MAY fail an attempt to DELETE a version.' Thank you Tom Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Procedure for adding code ? Updated inheritable properties
I have just committed the patch to the Slide CVS Head which will become Slide 2.2. Applying it to the 2.1 branch was not appropriate as it is a new feature and only bug fixes should go into it. Nick, could you please check if everything looks alright now? Oliver On Thu, 3 Feb 2005 10:18:58 -0500, Nick Longinow <[EMAIL PROTECTED]> wrote: > I'd ask one of the committers for a date. Till then, you and anyone > else is welcome to use the patched source. > Nick > > -Original Message- > From: Krishna Kankipati [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 3:43 PM > To: 'Slide Users Mailing List' > Subject: RE: Procedure for adding code ? Updated inheritable properties > > Nick, > We are waiting on this fix for a release this month end, do you > think this patch will be approved by then? Where do I get the patch from > . > > Krishna > > -Original Message- > From: Nick Longinow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 1:18 PM > To: 'Slide Users Mailing List' > Subject: RE: Procedure for adding code ? Updated inheritable properties > > You might have to wait longer; I don't know how long it takes for the > committers to actually apply the patch, assuming they even accept it. > Nick > > -Original Message- > From: Krishna Kankipati [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 3:12 PM > To: 'Slide Users Mailing List' > Cc: Martin Olovsson > Subject: RE: Procedure for adding code ? Updated inheritable properties > > Nick, > Great, I have been waiting for this change for quiet some time ... > thanks a bunch > > Krishna > > -Original Message- > From: Nick Longinow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 1:11 PM > To: 'Slide Users Mailing List' > Subject: RE: Procedure for adding code ? Updated inheritable properties > > Yes. Exactly so. > > -Original Message- > From: Krishna Kankipati [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 3:06 PM > To: 'Slide Users Mailing List' > Subject: RE: Procedure for adding code ? Updated inheritable properties > > Nick, > Does this mean that with this patch we can use webdav client to add > Ace that has inheritable false to an ACL? Basically I am trying to use > webdav client to be able to create a permission that should not inherit down > the repository tree. Is it possible with your code change? > > Krishna > > -Original Message- > From: Nick Longinow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 9:53 AM > To: 'Slide Users Mailing List' > Subject: RE: Procedure for adding code ? Updated inheritable properties > > Will do. > > -Original Message- > From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 01, 2005 4:50 PM > To: Slide Users Mailing List > Subject: Re: Procedure for adding code ? Updated inheritable properties > > Would be best to create a bugzilla entry and attach your paches. > > Oliver > > On Tue, 1 Feb 2005 14:45:27 -0500, Nick Longinow > <[EMAIL PROTECTED]> wrote: > > I've (with much help) added parameters to the Ace plumbing to add the > > attribute 'inheritable' to an Ace. > > > > What is the process for returning this code to the Slide community so that > > it becomes part of the products ? > > > > (both server and webdav client were updated). > > > > Nick > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Deleting a specific version
Hi Slide doesn't seem to allow deleting a specific version of an object. I tried to delete a specific version of an object by passing a history url through the client and debugging-stepping through the server. Is this intentional ? Why ? The Delta-V specification at only says :- (http://www.webdav.org/deltav/protocol/rfc3253.html#rfc.iref.35) '(DAV:no-version-delete): A server MAY fail an attempt to DELETE a version.' Thank you Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Procedure for adding code ? Updated inheritable properties
Nick, I would like to patch in Slide2.1 with your change to test out and see if it works. Where can I get access to you patch? You can e-mail me your changes (source code changes) if you want we would build slide here with the patch rolled in thanks Krishna -Original Message- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 8:19 AM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties I'd ask one of the committers for a date. Till then, you and anyone else is welcome to use the patched source. Nick -Original Message- From: Krishna Kankipati [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 3:43 PM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties Nick, We are waiting on this fix for a release this month end, do you think this patch will be approved by then? Where do I get the patch from . Krishna -Original Message- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 1:18 PM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties You might have to wait longer; I don't know how long it takes for the committers to actually apply the patch, assuming they even accept it. Nick -Original Message- From: Krishna Kankipati [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 3:12 PM To: 'Slide Users Mailing List' Cc: Martin Olovsson Subject: RE: Procedure for adding code ? Updated inheritable properties Nick, Great, I have been waiting for this change for quiet some time ... thanks a bunch Krishna -Original Message- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 1:11 PM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties Yes. Exactly so. -Original Message- From: Krishna Kankipati [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 3:06 PM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties Nick, Does this mean that with this patch we can use webdav client to add Ace that has inheritable false to an ACL? Basically I am trying to use webdav client to be able to create a permission that should not inherit down the repository tree. Is it possible with your code change? Krishna -Original Message- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 9:53 AM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties Will do. -Original Message- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 4:50 PM To: Slide Users Mailing List Subject: Re: Procedure for adding code ? Updated inheritable properties Would be best to create a bugzilla entry and attach your paches. Oliver On Tue, 1 Feb 2005 14:45:27 -0500, Nick Longinow <[EMAIL PROTECTED]> wrote: > I've (with much help) added parameters to the Ace plumbing to add the > attribute 'inheritable' to an Ace. > > What is the process for returning this code to the Slide community so that > it becomes part of the products ? > > (both server and webdav client were updated). > > Nick > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deadlock on node (document within collection) - went away ??
The deadlock is gone today (about 18 hrs later). The deadlock was being detected during the storeRevisionContent method of abstractStore, while calling into OracleRDBMSAdapter's method which updated the VERSION_CONTENT table, while updating the blob of the referenced record (during flush). Any ideas what happened ? My Tlock timeout in domain.xml is 20 seconds, not 3+ hours ? ??? -Original Message- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 2:58 PM To: 'Slide Users Mailing List' Subject: deadlock on node (document within collection) I am trying to find out what this means, assuming it means that some principal has a lock on a resource and the attempt to do a webdav put is conflicting. Neither the parent node, nor any above it in the slide tree show a true response to the weddav.isLocked() method. Any ideas what might be locked, or how to find that out ? Nick --- cut here http-8080-Processor20, 02-Feb-2005 13:51:58, MBoss, OPTIONS, 200 "OK", 63 ms, /files/Ma/MC/Test/Working/ http-8080-Processor20, 02-Feb-2005 13:51:58, MBoss, LOCK, 200 "OK", 47 ms, /files/Ma/MC/Test/Working/d.doc http-8080-Processor20, 02-Feb-2005 13:51:58, MBoss, GET, 200 "OK", 234 ms, /files/Ma/MC/Test/Working/d.doc http-8080-Processor24, 02-Feb-2005 13:52:02, MBoss, OPTIONS, 200 "OK", 31 ms, /files/Ma/MC/Test/Working http-8080-Processor24, 02-Feb-2005 13:52:02, MBoss, PROPFIND, 207 "Multi-Status", 16 ms, /files/Ma/MC/Test/Working/d.doc 02 Feb 2005 13:52:06 - org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - java.io.IOException: ORA-00060: deadlock detected while waiting for resource java.io.IOException: ORA-00060: deadlock detected while waiting for resource at oracle.jdbc.driver.DatabaseError.SQLToIOException(DatabaseError.java:557) at oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream .java:216) at oracle.jdbc.driver.OracleBlobOutputStream.flush(OracleBlobOutputStream.java: 172) at org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter.storeContent(OracleRDBM SAdapter.java:158) at org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.storeRevisionContent( StandardRDBMSAdapter.java:1101) at org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.storeRevisionContent( StandardRDBMSAdapter.java:1065) at org.apache.slide.store.impl.rdbms.AbstractRDBMSStore.storeRevisionContent(Ab stractRDBMSStore.java:843) at org.apache.slide.store.AbstractStore.storeRevisionContent(AbstractStore.java :1387) at org.apache.slide.store.ExtendedStore.storeRevisionContent(ExtendedStore.java :533) at org.apache.slide.content.ContentImpl.store(ContentImpl.java:1018) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: slide-admin app
Lance Leverich wrote: Not sure if there is a particular app out there that does this stuff. I am wrapping up work on my first version of an admin app right now. If there is sufficient interest, I may publish it in a couple of weeks. yeah, i got antsy and started working on one myself. seems pretty simple. we should compare notes. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Procedure for adding code ? Updated inheritable properties
I'd ask one of the committers for a date. Till then, you and anyone else is welcome to use the patched source. Nick -Original Message- From: Krishna Kankipati [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 3:43 PM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties Nick, We are waiting on this fix for a release this month end, do you think this patch will be approved by then? Where do I get the patch from . Krishna -Original Message- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 1:18 PM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties You might have to wait longer; I don't know how long it takes for the committers to actually apply the patch, assuming they even accept it. Nick -Original Message- From: Krishna Kankipati [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 3:12 PM To: 'Slide Users Mailing List' Cc: Martin Olovsson Subject: RE: Procedure for adding code ? Updated inheritable properties Nick, Great, I have been waiting for this change for quiet some time ... thanks a bunch Krishna -Original Message- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 1:11 PM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties Yes. Exactly so. -Original Message- From: Krishna Kankipati [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 3:06 PM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties Nick, Does this mean that with this patch we can use webdav client to add Ace that has inheritable false to an ACL? Basically I am trying to use webdav client to be able to create a permission that should not inherit down the repository tree. Is it possible with your code change? Krishna -Original Message- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 9:53 AM To: 'Slide Users Mailing List' Subject: RE: Procedure for adding code ? Updated inheritable properties Will do. -Original Message- From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 4:50 PM To: Slide Users Mailing List Subject: Re: Procedure for adding code ? Updated inheritable properties Would be best to create a bugzilla entry and attach your paches. Oliver On Tue, 1 Feb 2005 14:45:27 -0500, Nick Longinow <[EMAIL PROTECTED]> wrote: > I've (with much help) added parameters to the Ace plumbing to add the > attribute 'inheritable' to an Ace. > > What is the process for returning this code to the Slide community so that > it becomes part of the products ? > > (both server and webdav client were updated). > > Nick > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: slide-admin app
Please be so kind :) Lance Leverich wrote: Not sure if there is a particular app out there that does this stuff. I am wrapping up work on my first version of an admin app right now. If there is sufficient interest, I may publish it in a couple of weeks. Lance Leverich -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 6:29 PM To: slide-user@jakarta.apache.org Subject: slide-admin app i've seen references on the wiki and elsewhere to a slide-admin webapp that does user mgmt and lock killing. can't find the app tho. does it still exist, or is it an obsolete part of an earlier version? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: slide-admin app
Not sure if there is a particular app out there that does this stuff. I am wrapping up work on my first version of an admin app right now. If there is sufficient interest, I may publish it in a couple of weeks. Lance Leverich -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 6:29 PM To: slide-user@jakarta.apache.org Subject: slide-admin app i've seen references on the wiki and elsewhere to a slide-admin webapp that does user mgmt and lock killing. can't find the app tho. does it still exist, or is it an obsolete part of an earlier version? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]