• webdav permission

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #11460  by hkbyte
 
I have set a folder as a read only permission in OpenKM. It is perfect when running in a browser mode. Upload and delete are disabled.

But when the same user login as a webdav mode. The files in this folder can be deleted or edit. Do I miss anything in set up webdav?


hkbyte
 #11475  by jllort
 
Seems a bug. Which openkm version ?
Could you put a screenshot with user roles and other with security on that folder ?
 #11482  by hkbyte
 
openkm 5.1.5

Scenario:
1. set "folder1" as read only for group "readonly".
2. testuser1 is a member of "readonly" group/role.
3. In browser mode, the permissions for testuser1 are correct in this folder.

But after webdav mounting under "testuser1". In "folder1".
1. Delete is not ok.
2. Put a new file is ok.
3. Edit a file (eg word/excel file) is ok and there is no prompt for read only. But when "saved" the file, there is error saying that unable to save. instead, it will save into another temp file (as my screen capture attached)

I have tested both in webdrive and netdrive client.
Attachments
security  role
security role
kmtest1.png (3.76 KiB) Viewed 3945 times
webdav
webdav
kmtest.png (84.31 KiB) Viewed 3945 times
 #11503  by jllort
 
In administration tab / configuration ( second icon ) which value have in property restrict.file.extension
 #11510  by jllort
 
Seems what's stored is a temporary file and property restrict.file.extension seems right. Could you try enabling restrict.file.mime.

I think could be a bug, try enable restrict.file.mime. and if not runs propertly I'll open and issue in our tracking system.
 #11517  by hkbyte
 
enabling restrict.file.mime have the same result.

But I did some tests during the weekend and found that:

1. I have tested MS windows platform webdav clients: netdrive and webdrive AND Mac platform Cyberduck. They have the same issues.

But
2. If I use Windows networking (Windows XP), the permissions are correct. (no issues)

Are those webdav clients have bug or openkm ?
 #11528  by jllort
 
Could you test with webdrive, seems is one of the most complete webdav implementations. I'm not sure about which could be the origin of the problem, about microsoft, we're sure there's some problems on default client implementation that comes with MS. Really some clients and some webdav services sometimes not implementing all webdav specification, that's one of the major problems. I'll put the issue in our tracking system in order investigate it.

Could you post the client versions you've tested to try ourself with same software versions. I've added here http://issues.openkm.com/view.php?id=1705
 #11544  by hkbyte
 
I already tested with webdrive.

Client that I have tested:
1. webdrive (windows) v10.0
2. netdrive (windows) v1.3.0.2
3. cyberduck (Mac) v 4.0.2

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.