repository access confusion (WebDAV)

repository access confusion (WebDAV)

Danny Wahl發表於
Number of replies: 1

Ok, I thought I was starting to grasp the repository thing, but now that I'm actually trying to implement an external repository it turns out I know less than I thought I did.  Here's what I have:

 

M2.1 with LDAP authentication to domain.com enabled and working

WebDAV server on a QNAP NAS bound to domain.com

WebDAV repository enabled in Moodle 2.0

 

Now here's what I can't figure out how to do:  any kind of access control. 

Let's pretend that I want teachers to be able to store their files on webdav and use that to add files to their courses, how do I get 'teacher 1' to see the 'teacher 1' webdav share, but not the 'teacher 2' webdav share and vice-versa?

What I want is this:

Outside of Moodle a user connects to a webdav server and only has access permissions to their share or folder in a share.  Inside Moodle the user only has access to that same share or folder in a share, and I want all of the access control to be managed by domain.com.  Is this possible with WebDAV, and if not, is it possible with anything?

評比平均分數: -
In reply to Danny Wahl

Re: repository access confusion (WebDAV)

Ken Task發表於
Particularly helpful Moodlers的相片

Truth in assisting: haven't tired the same myself, but this might help:

http://tldp.org/HOWTO/Apache-WebDAV-LDAP-HOWTO/

and a question: is there a setting (object/field in schema) in LDAP for WebDAV?

I'll bet many folks would be interested in your efforts and solutions so please, if you resolve, post back! ;)

'spirit of sharing', Ken