-
Notifications
You must be signed in to change notification settings - Fork 27
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
[WIP] Acl support #104
base: 1.x
Are you sure you want to change the base?
[WIP] Acl support #104
Conversation
@@ -21,14 +21,14 @@ | |||
"ext-curl":"*", | |||
"phpcr/phpcr": "~2.1.2", | |||
"phpcr/phpcr-utils": "~1.1", | |||
"jackalope/jackalope": "~1.2.0" | |||
"jackalope/jackalope": "dev-acl" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs to be changed to the final version
@@ -0,0 +1,108 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sample privileges response. needs to be removed again
Crazy how much this looks like WebDAV / RFC3744 |
@evert this is Davex, which is based on Webdav .. infact Jackrabbit is also a Webdav server .. kind of cool huh? a content repository where a graphic designer could mount a path via webdav, mess with images there and write it back into the repo without ever touching a web interface. there is a reason Adobe bought a Jackrabbit based CMS. |
Huh! I should look into that more... Is there value in adding sabredav as a frontend for jackalope for you? Or does that not make sense. |
@evert for the Jackrabbit integration we rather need a webdav client .. however at some point we might want to also provide a webdav interface for jackalope-doctrine-dbal |
not sure if you would want to build on phpcr for that. maybe the thing would be a sabredev frontend for flysystem (which has a phpcr adapter for storage). |
flysystem would give a very weak version of your underlying data-model, only representing files and directories and basic FS operations. With a full-blown webdav frontend, you actually get an API that allows you to query and modify properties, express/enforce/mutate ACL rules, etc. Anyway.. could be a fun side project for me at one point :) Sorry for hijacking this thread! |
@evert well, jackrabbit itself only allows webdav for nodes that represent folders or files, afaik. arbitrary nodes with properties are not a concept webdav understands. but i certainly won't stop you if you want to give things a try. i suggest you open an issue on the phpcr repository when you are ready to hack on this, for further discussion. just make sure to write against the PHPCR interfaces, and not limit yourself to a concrete implementation like jackalope-jackrabbit. |
That's definitely not true! webdav certainly supports any type of node :) we have many non-file nodes, such as principal nodes that have no mapping to a GET request |
needs the following to be added to the
<workspace>
tag in the repository.xml:requires jackalope/jackalope#274 and phpcr/phpcr-api-tests#152
TODO