Hello,
I have a problem with file uploads in my slide system (2.0b1). I have defined a user
with all privileges in a child directory. The target directory looks like this:
/pdc/centre123/group45/topic67/
ACL Info for this directory looks like this (subject-action-inheritable-deny):
/users/bobsmith - all - true - false
/roles/group45 - all - true - false
"bobsmith" is a user in my /users directory and a member in group45 (/roles/group45).
bobsmith does not have privileges to the root ( / ) directory, because he should only
be allowed to access the above-mentioned child directory.
We are using jdbc realm and the user authentication against the database is successful.
For some weird reason bobsmith can not upload any documents, unless
1) he is given privileges to the root directory of slide ( / ) (must have at least
READ privilege, write doesn't matter)
2) he is uploading a new version of a document that already exists in the system.
He IS able to delete a document from the system.
When uploading a document, both http reply and proppatch requests give a 403
(forbidden):
$reply = $this->http->report( ($file), $xmlBody ); //gives a 403
$reply = $this->http->PropPatch(($file), $xmlbody); //gives a 403
whereas when deleting is fine using this:
$reply = $this->http->Delete( ($file));
The user authentication, connections etc are always the same, no matter which http
requests are made (and they work fine).
Does anyone have any idea why I'm always getting a 403 for my replies and thus am not
able to upload documents into the system unless granting Read privileges to the root
directory?
Thanks,
Maarit Nurkkala
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!