-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ACL support to webdav #109
Comments
From [email protected] on November 09, 2011 10:26:27 |
From [email protected] on November 09, 2011 15:26:23 Still need to investigate how ACL work behind the scene :) |
From [email protected] on November 09, 2011 16:14:38 if i find time to implement this for my needs, will upload patch :) |
From [email protected] on November 18, 2011 16:47:10 Getting owner / group / ACLs of a specific node. Principals supported are href and property. Just call public DavAcl Sardine.getAcl(String uri) |
From [email protected] on November 18, 2011 21:03:23 |
From [email protected] on November 18, 2011 22:29:09 |
From [email protected] on November 18, 2011 22:33:33 |
From [email protected] on November 18, 2011 23:48:04 -> set acl It's not recommanded to add ACL to DavResource, Spec for ACL mandates that server does not return ACL on a "allprop" PROPFIND request, because gathering ACL can be time consuming for server. Whatever you do, you can't in same request get all properties + ACL. |
From [email protected] on November 19, 2011 10:32:20 |
From [email protected] on November 21, 2011 14:40:23 here is another patch that add support for -> inherited ACL, |
From [email protected] on November 23, 2011 16:55:17 |
From [email protected] on November 23, 2011 21:35:33 I have seen there exists and ACL extension on sourceforge for apache httpd, but did not try to compile / install it. The http response used by test in handlertest were constructed using documentation and examples from the RFC |
From [email protected] on December 02, 2011 10:32:52 |
From [email protected] on December 07, 2011 14:23:27 |
From [email protected] on December 07, 2011 15:56:53 |
From [email protected] on December 07, 2011 15:57:55 |
From [email protected] on December 10, 2011 14:04:28 |
From [email protected] on December 10, 2011 14:04:56 |
From [email protected] on December 10, 2011 14:42:15 |
Hi, I've tried the 5.0 version but I am getting null Aces value as well as Group and Owner value. Here is the snippet....
Here are my Maven dependencies...
Pulling out resource is working fine... Is there something that I need to do other than executing the sardine.getAcl? TIA |
I'm not sure if it'll help at all but 5.0.1 is the latest version. |
Thanks for replying back. I've tried 5.0.1 and I am still getting null Aces. Just an additional question, do I need admin permission to pull-out ACL? Right now the service account has Contributor right only. Thanks again. |
That isn't a Sardine question, but I suspect that you'll need some sort of access to do so, otherwise you will probably get nulls. |
Ok so I've tried an admin account just to see if that will help but it didn't. I can't even get the Owner or the Group where it belongs. I would appreciate if you or someone can share a piece of code (that worked properly) to get/list the ACL of a SharePoint resource. TIA. |
Post the HTTP wire log and we can see if the ACLs are present and add a test case to fix this if it is an issue in the Sardine code base that ACLs aren't parsed correctly. |
Here the wire log after executing just sardine.getAcl. You will see that I am getting a mixture of status codes here... 401, then 207 then 200. You can that on the last few lines, it has 200 status code but the MultiStatus data is empty. Note: I stripped off the random characters..... DEBUG [org.apache.http.impl.client.DefaultHttpClient] Stale connection check |
Actually, the propfind looks ok. It is a multi step auth. Notice the 207 On Thu, Aug 8, 2013 at 12:09 PM, jcmarfilph [email protected]:
|
For some reason it is not displaying properly....
But you can see that the fields are really blank |
If you wrap things in [three backticks] XML or log output here [three backticks] it should display better. |
Sorry the output is still wonky. Can I attach or just email it to you? |
Hi, Any thoughts why the fields are blank? Thanks, Joms |
Original author: [email protected] (November 08, 2011 18:14:57)
Some server support ACL (access control list) extension. It would be useful to us if sardine is able to
Original issue: http://code.google.com/p/sardine/issues/detail?id=109
The text was updated successfully, but these errors were encountered: