Skip to content
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

[stable27] fix(share): Send correct share attributes upon share creation #44499

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 26, 2024

Backport of #44484

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@nfebe nfebe marked this pull request as ready for review March 27, 2024 13:41
@skjnldsv skjnldsv mentioned this pull request Mar 28, 2024
Copy link
Contributor

@emoral435 emoral435 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR seems to not be complete

@nfebe
Copy link
Contributor

nfebe commented Mar 29, 2024

PR seems to not be complete

Hi @emoral435 Can you be more specific? This is a backport.

@susnux
Copy link
Contributor

susnux commented Mar 29, 2024

It differs from the original, the json decode of the attributes is missing. Is this expected @fenn-cs ?

@nfebe nfebe force-pushed the backport/44484/stable27 branch from 2ac47d0 to 09e428a Compare March 29, 2024 22:47
@nfebe
Copy link
Contributor

nfebe commented Mar 29, 2024

Thanks @susnux and @emoral435, line in.

@nfebe
Copy link
Contributor

nfebe commented Mar 29, 2024

/compile /

@nfebe nfebe force-pushed the backport/44484/stable27 branch from 1ab8750 to f179349 Compare March 29, 2024 23:47
@nfebe
Copy link
Contributor

nfebe commented Mar 29, 2024

/compile /

Copy link
Contributor

@emoral435 emoral435 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT now! Sorry for the confusion with my wording 😔

@emoral435 emoral435 force-pushed the backport/44484/stable27 branch from 58d0bb3 to 657a9b7 Compare April 1, 2024 14:37
@emoral435 emoral435 enabled auto-merge April 1, 2024 14:37
- Send correct share attributes (`share.attributes`) to server upon creation.

- Delete parts of code that create or reference, `share.hasDownloadPermission`

(Not required by Share API)

Resolves : #44131

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
@nfebe nfebe force-pushed the backport/44484/stable27 branch from 657a9b7 to 58db30d Compare April 15, 2024 15:01
@nfebe
Copy link
Contributor

nfebe commented Apr 15, 2024

/compile /

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@Altahrim Altahrim mentioned this pull request Apr 17, 2024
4 tasks
@solracsf
Copy link
Member

Seems a force merge is needed here (CI failure is unrelated).

@solracsf solracsf added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 17, 2024
@Altahrim Altahrim disabled auto-merge April 17, 2024 09:31
@Altahrim Altahrim merged commit 3fb243e into stable27 Apr 17, 2024
38 of 39 checks passed
@Altahrim Altahrim deleted the backport/44484/stable27 branch April 17, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish 27-feedback 28-feedback 29-feedback feature: sharing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants