-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat: add oc-ownerid and oc-permissions headers on PUT DAV requests #54542
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
base: master
Are you sure you want to change the base?
Conversation
come-nc
left a comment
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.
New non-standard headers should be prefixed with X-
|
The last three commits add the changes necessary to add the filtering logic to hide mount and share information from the permission string, under Robin's suggestion that the behaviour should be kept. |
a62a217 to
dd52669
Compare
f40f9a6 to
035f7cd
Compare
035f7cd to
81a7bf9
Compare
|
Last update 🤞 : the fixes with |
provokateurin
left a comment
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.
I don't like traits 🙈
Right, I think in this case a good option would be to add a new |
provokateurin
left a comment
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.
Nice 🎉
The permission string for directories and files can contain M or S depending if they are respectively coming from a mount or a share. This information is not to be disclosed when the share is a public one. Signed-off-by: Salvatore Martire <[email protected]>
Signed-off-by: Salvatore Martire <[email protected]>
44ef5c0 to
0b577ef
Compare
Summary
Adds
OC-PermissionsandOC-OwnerIdheaders to the response of PUT DAV requests.Documentation update: nextcloud/documentation#13525
Checklist