Deleting versions created by versioning

2004-08-04 Thread Warwick Burrows
Title: Message Hi,   Is there a Slide configuration option that allows me to delete the versions in a version history for a document?  I'm developing a content management system front-ended by Slide and its just not feasible to leave around every revision of every deleted document forever. W

RE: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread Andrey Shulinsky
Krishna, try to remove /Slide Here's how this property should look like in the xml descriptor (approximately): ' symbol might not be replaced by " but the user's uri should start from /users. Yours sincerely, Andrey Shulinskiy. > -Original Message- > From: S

Re: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread James Mason
I don't think you need the /Slide part on there. It should just be /users/user1. The empty and tab spaces are a bug that is fixed in the next release. XML data isn't converted to strings properly. -James Krishna Kankipati wrote: James, Here is the output of the group-member-set property

RE: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread Krishna Kankipati
Andrey, No, I haven't tried that, but I've tried giving "all" permission to the role, didn't work. If I give the write permission to the particular user it works. Kirshna -Original Message- From: Andrey Shulinsky [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 4:52 PM

RE: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread Krishna Kankipati
James, Here is the output of the group-member-set property of the role "user". Note the value has lot of empty and tab spaces /Slide/users/user1 Java code used to get this property value

Re: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread James Mason
Can you paste the contents of the group-member-set property of the user role? If you notice the root user doesn't have any explicit rights to the /files node, everything is inherited through the root role. My guess is your user isn't making it into the role properly. -James Krishna Kankipati wr

RE: User Authorization based on permissions set to role in Slide2.1

2004-08-04 Thread Andrey Shulinsky
One more thing - try to give your user "read" permission to the folder along with the "write" permission. Does it help? Yours sincerely, Andrey. > -Original Message- > From: Slide Users Mailing List [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 04, 2004 11:50 AM > To: '[EMAIL PROTE

RE: Cache refresh notification in two different instance of Slide running on different boxes.

2004-08-04 Thread Warwick Burrows
Fantastic news. Thanks! -Original Message- From: James Mason [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 04, 2004 5:00 PM To: Slide Users Mailing List Subject: Re: Cache refresh notification in two different instance of Slide running on different boxes. I'm planning on it being

Re: Cache refresh notification in two different instance of Slide running on different boxes.

2004-08-04 Thread James Mason
I'm planning on it being in 2.1. I updated my system last night and there's a bug in MySQL in the latest debian unstable, so I'm having trouble with testing :). It's close to finished, though, so I expect to commit the code later this week. -James Warwick Burrows wrote: James, thanks for the de

RE: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread Krishna Kankipati
Jason, I checked the acl for this folder, it looks like this: ACL for /Slide/files/folder1: granted to /Slide/roles/user(not protected) (not inherited) DAV:all DAV:write granted to property(not protected) (inher

RE: Cache refresh notification in two different instance of Slide running on different boxes.

2004-08-04 Thread Warwick Burrows
James, thanks for the details on clustering. The version of clustering that you're working on is a far better solution than turning off caching on the servers. Will your modifications make it into the 2.1 beta version? I really hope so as I don't think our product will get the performance number

RE: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread Krishna Kankipati
Guido, I did check both that you mentioned. The auto-versioning was set to false in Domain.xml and when I check for property current-user-privilege-set for folder1, it returns 'Read'. Although acl for folder1 looks like this: Note that my user 'user1' was added to role 'user' by setting the

Re: Cache refresh notification in two different instance of Slide running on different boxes.

2004-08-04 Thread James Mason
Comments below. Warwick Burrows wrote: Daniel, I'm a little confused by this question. Why wouldn't you use Slide clustering but still synchronize the caches of the two servers? Are there features of Slide clusters that you don't want? James, What is the Slide clustering design? I remember a not

Re: User Authorization based on permissions set to role in Slide2.1

2004-08-04 Thread James Mason
Krishna, Permissions on a role are inherited by the members of that role, yes. One thing to check is that your user isn't being denied write access but another ACL that's higher in the list. ACLs are checked in order and the first one that applies takes precedence. If user1 is in a role that has

Re: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread Guido Casper
Krishna Kankipati wrote: Hi Andrey, Thanks for the response. As we speak I am doing some tests using the Slide Command Line tool (it uses Webdav Client internally). I added a new user (user1) and a new role (role1) using webdav client. I did this using mkcol command on users and rol

RE: User Authorization based on permissions set to role in Slide2 .1

2004-08-04 Thread Krishna Kankipati
Hi Andrey, Thanks for the response. As we speak I am doing some tests using the Slide Command Line tool (it uses Webdav Client internally). I added a new user (user1) and a new role (role1) using webdav client. I did this using mkcol command on users and roles collection. After that

RE: Cache refresh notification in two different instance of Slide running on different boxes.

2004-08-04 Thread Warwick Burrows
Daniel, I'm a little confused by this question. Why wouldn't you use Slide clustering but still synchronize the caches of the two servers? Are there features of Slide clusters that you don't want? James, What is the Slide clustering design? I remember a note where you said that load-balancing

RE: User Authorization based on permissions set to role in Slide2.1

2004-08-04 Thread Andrey Shulinsky
Hi, Krishna! Everything should work fine in the case you've described. Actually, I'm testing permissions at the moment and it's one of my own test cases. I am using the Security helper directly though, not the client. Haven't you checked the descriptors of the "role1" and the file you're granting

RE: GetYourArmsAroundIt Question???

2004-08-04 Thread Michael Oliver
I extended those classes and reconfigured Domain.xml to use my extensions. If you added println statements and they are not showing in the logs, then probably your class files are out of sequence in the classpath and the default classes in the jar files are being called. If you extend and rename

Re: Cache refresh notification in two different instance of Slide running on different boxes.

2004-08-04 Thread James Mason
Daniel Varghese wrote: Hello James, thnx for your valuable information abt Slide Clustering and Cache refresh notifications among the cluster nodes couple of days back. You're welcome. Now I have another question. Two instance of Slide running on two different Unix boxes and I'm not planing to u

User Authorization based on permissions set to role in Slide2.1

2004-08-04 Thread Krishna Kankipati
Hi Folks, I am re-posting this mail since I haven't got any replies yet. I am hoping there is some developer there who might have tried to play around with permissions in Slide2.1M1. My problem is that when I assign some permissions to a role, those permissions are not propogated to the use

RE: GetYourArmsAroundIt Question???

2004-08-04 Thread Ragia
Hello again! Nothing worked :( And classes are not seen from any other place, guess the classes/functions are not even called !!! May be it is not clear for me how to test and get my messages displayed. All what I have done is editting the classes org.apache.slide.store.txfile.TxFileContentSto

Cache refresh notification in two different instance of Slide running on different boxes.

2004-08-04 Thread Daniel Varghese
Hello James, thnx for your valuable information abt Slide Clustering and Cache refresh notifications among the cluster nodes couple of days back. Now I have another question. Two instance of Slide running on two different Unix boxes and I'm not planing to use Cluster, In this senario how do we