Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Oct 29, 2024

  • Before this commit, attributes added to a share were ignored when the share type was team/circles (share type 7).

  • Share attributes are not expected to contain any key or property named enabled.

Resolves : nextcloud/server#46920

This is a partial resolution because setting the download attribute may not fully enforce the correct download permissions. A follow-up PR in the server may be needed to update the hideDownload property of the share based on the value of download in the share attributes.

- Before this commit, attributes added to a share were ignored when the share type was team/circles (share type `7`).

- Share attributes are not expected to contain any key or property named `enabled`.

Partial resolution of: nextcloud/server#46920

This is a partial resolution because setting the `download` attribute may not fully enforce the correct download permissions. A follow-up PR in the server may be needed to update the `hideDownload` property of the share based on the value of `download` in the share attributes.

Signed-off-by: fenn-cs <[email protected]>
@nfebe nfebe requested a review from ArtificialOwl October 29, 2024 16:27
@nfebe nfebe merged commit 0d0a7ba into master Oct 31, 2024
@nfebe nfebe deleted the fix/part-of/46920/save-share-attributes-on-create branch October 31, 2024 11:07
@nfebe
Copy link
Contributor Author

nfebe commented Oct 31, 2024

/backport to stable30

@nfebe
Copy link
Contributor Author

nfebe commented Oct 31, 2024

/backport to stable29

@nfebe
Copy link
Contributor Author

nfebe commented Oct 31, 2024

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: sharing with team does not respect "no download" setting

4 participants