-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(dav): Ensure share properties are also set on public remote endpoint #46987
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
Conversation
skjnldsv
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.
This is on the very edge between a fix and a feat... 😅🙈
Approved nonetheless!
9848f19 to
162f9b0
Compare
| * Convert target path to source path and pass the function call to the correct storage provider | ||
| */ | ||
| class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedStorage, IDisableEncryptionStorage { | ||
| class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements LegacyISharedStorage, ISharedStorage, IDisableEncryptionStorage { |
Check notice
Code scanning / Psalm
DeprecatedInterface
Signed-off-by: Ferdinand Thiessen <[email protected]>
| }); | ||
|
|
||
| $propFind->handle(self::DATA_FINGERPRINT_PROPERTYNAME, function () use ($node) { | ||
| $propFind->handle(self::DATA_FINGERPRINT_PROPERTYNAME, function () { |
Check notice
Code scanning / Psalm
MissingClosureReturnType
| use OCP\Files\Storage\ISharedStorage; | ||
| use OCP\Share\IShare; | ||
|
|
||
| class PublicShareWrapper extends Wrapper implements ISharedStorage { |
Check notice
Code scanning / Psalm
DeprecatedInterface
Signed-off-by: Ferdinand Thiessen <[email protected]>
Summary
Ensure that public and internal endpoint both provide the necessary data, so we can e.g. on both request
nc:note.As the share note is not something only for users but also for public shares.
Checklist