-
-
Notifications
You must be signed in to change notification settings - Fork 77
Fix viewer editor permissions #1207
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,17 +20,19 @@ | |
| * | ||
| */ | ||
| const props = ` | ||
| <oc:fileid /> | ||
| <d:getlastmodified /> | ||
| <d:getetag /> | ||
| <d:getcontenttype /> | ||
| <d:getcontentlength /> | ||
| <nc:realpath /> | ||
| <nc:has-preview /> | ||
| <nc:file-metadata-size /> | ||
| <d:getcontenttype /> | ||
| <d:getetag /> | ||
| <d:getlastmodified /> | ||
| <d:resourcetype /> | ||
| <nc:face-detections /> | ||
| <nc:file-metadata-size /> | ||
| <nc:has-preview /> | ||
| <nc:realpath /> | ||
| <oc:favorite /> | ||
| <d:resourcetype />` | ||
| <oc:fileid /> | ||
| <oc:permissions /> | ||
| ` | ||
|
Comment on lines
+24
to
+35
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any reason for the reordering ? just curious :)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just to mess with us :D
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorting alphabetically. Easier to find what you want |
||
|
|
||
| export { props } | ||
| export default `<?xml version="1.0"?> | ||
|
|
||
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.
Ah, and this is not the albums controller but the folders controller, probably, then we may need this for the actual albums as well
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.
Yep, but the other Views are importing
src/services/DavRequest.js, so they will benefit from that tooThere 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.
https://github.com/nextcloud/photos/search?q=DavRequest
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.
Yes, but Albums and Faces dav endpoints do not expose permissions in DAV afaik