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.

@Fenn-CS Fenn-CS 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

@Fenn-CS
Copy link
Contributor

Fenn-CS 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 ?

@Fenn-CS
Copy link
Contributor

Fenn-CS commented Mar 29, 2024

Thanks @susnux and @emoral435, line in.

@Fenn-CS
Copy link
Contributor

Fenn-CS commented Mar 29, 2024

/compile /

@Fenn-CS
Copy link
Contributor

Fenn-CS 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 😔

- 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>
@Fenn-CS
Copy link
Contributor

Fenn-CS 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