Page 1 of 1
ROLE_USER Webdav
PostPosted:Fri Nov 30, 2012 12:50 pm
by kmartens
I would like to know how I can authorize a ROLE_USER to use webdav.It seems that only ROLE_ADMIN users are allowed webdav access.
Many Thanks,
Karel Martens
Re: ROLE_USER Webdav
PostPosted:Sat Dec 01, 2012 5:09 pm
by jllort
What you said is not correct. I suggest you try login with OpenKM UI and then if all is right the login into webdav should be exactly the same ( you should see the same ). I think the problem is really you have not set correctly the security and your users are not able to login across UI
Re: ROLE_USER Webdav
PostPosted:Tue Dec 04, 2012 2:26 pm
by kmartens
I am perfectly able to login to the UI with the user who has been assigned ROLE_USER permissions but webdav does not work unless I put the user into the ROLE_ADMIN group.
Re: ROLE_USER Webdav
PostPosted:Wed Dec 05, 2012 1:51 pm
by dejanfc
Works fine here, auth is ldap, webdav mounted with davfs2 on ubuntu. Tested both admin and user accounts (ROLE_ADMIN and ROLE_USER roles respectively), both work fine. How are you trying to access webdav?
Re: ROLE_USER Webdav
PostPosted:Wed Dec 05, 2012 4:01 pm
by kmartens
openkm runs on centos6, I connect using gladinet cloud desktop to port 8000.
http://XXX:8000/OpenKM/webdav/okm:root
Re: ROLE_USER Webdav
PostPosted:Wed Dec 05, 2012 9:22 pm
by dejanfc
Try connecting to */OpenKM/webdav instead of */OpenKM/webdav/okm:root. If that's not an option, make sure that root folder can be accessed by ROLE_USER role.
Re: ROLE_USER Webdav
PostPosted:Thu Dec 06, 2012 8:38 am
by jllort
if you have enabled webdav fix then okm:root is converted to okm_root ( some WebDAV clients does not like character : )
Re: ROLE_USER Webdav
PostPosted:Fri Dec 07, 2012 9:09 am
by kmartens
You are right jllort, replacing the ":" with "_" did the trick!
Thank you very much!