If you want to create a simple custom store I'd recommend to have a closer look at
http://jakarta.apache.org/slide/wck.htm. Oliver On Sun, 24 Oct 2004 19:04:03 +0530, Girish Nagaraj <[EMAIL PROTECTED]> wrote: > Thanks for your all your help James and Tassos. > > I am not very convinced that this is a generic behavior because I > could get the "write" authentication to work with the > org.apache.slide.store.mem.TransientSecurityStore (by testing the > photospace.SimpleFileStore sample store written by Alon Salant > available at > http://cvs.sourceforge.net/viewcvs.py/photospace/slidespace/WEB-INF/src/photospace/slide/) > for both existing resources and new resources. > > I am still not able to get the /actions/read permissions apply. I will > send a separate mail about it. > > I believe that you can not set the permissions for existing soruces > with TxXMLFileDescriptorsStore because it saves the permission > information to the XML files bin\store\metadata directory as soon as a > node is created > (on a side note, I have given up testing permissions on > TxXMLFileDescriptorsStore because I am not able to get both read/write > permissions to work with it and my custom store is more closer the the > SimpleFileStore). > > Thanks, > Girish > > On Sun, 24 Oct 2004 01:14:33 -0700, James Mason <[EMAIL PROTECTED]> wrote: > > This is generic behavior. Note that you can modify permissions on > > existing resources using the command line client. > > > > -James > > > > > > > > On Sat, 2004-10-23 at 03:49, Girish Nagaraj wrote: > > > Is this a TxXMLFileDescriptorsStore only behavior or generic slide behavior. > > > > > > I am writing a custom store and was looking at implementing the > > > following for my custom store. Could somebody please suggest if and > > > how this can be achieved for a custom store being written from > > > scratch? > > > > > > Thanks, > > > Girish > > > > > > > > > On Sat, 23 Oct 2004 12:56:25 +0300, Tassos Bassoukos <[EMAIL PROTECTED]> wrote: > > > > As far as I could tell, the objectnodes in the Slide domain.xml are > > > > only used when there is no such object in the stores (such as when the > > > > stores are initialized). > > > > > > > > This means that if the object /files/girish already exists, > > > > modifications to the permissions in the domain.xml will not be > > > > propagated to the store, you have to do that by hand using a WebDAV > > > > client. > > > > > > > > HTH, > > > > Tassos > > > > > > > > > > --------------------------------------------------------------------- > > > 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]
