Skip to content

[stable24] Fix share permissions rendering - #32674

Merged
PVince81 merged 1 commit into
stable24from
backport/32670/stable24
Jun 10, 2022
Merged

[stable24] Fix share permissions rendering#32674
PVince81 merged 1 commit into
stable24from
backport/32670/stable24

Conversation

@backportbot-nextcloud

@backportbot-nextcloudbackportbot-nextcloudBot commented May 31, 2022

Copy link
Copy Markdown

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #32670

@Pytal

This comment was marked as outdated.

1 similar comment
@artonge

Copy link
Copy Markdown
Collaborator

/compile amend /

@artonge

Copy link
Copy Markdown
Collaborator

CI failure unrelated

@artongeartonge self-assigned this Jun 8, 2022
@artonge
artonge requested a review from a teamJune 8, 2022 13:38
@PytalPytal added the 4. to release Ready to be released and/or waiting for tests to finish label Jun 8, 2022
@Pytal

Pytal commented Jun 8, 2022

Copy link
Copy Markdown
Member

@artonge failures look a bit different than usual, unrelated?

@artonge

artonge commented Jun 9, 2022

Copy link
Copy Markdown
Collaborator

First error about notification not coming (recurring issue):

Notification of incoming share for file /farewell.txt could not be found after 70 seconds

Second error in the setting page (couldn't find the same behavior in other CI runs, let's rebase and see):

\# SettingsContext::iSeeThatResharingIsDisabled()
Failed asserting that true is false.

@blizzzblizzz mentioned this pull request Jun 9, 2022
2 tasks
The `SHARE` permissions falls into the `default` case in the switch case, causing the rendering to look like ` , Upload, Read`.
This PR changes the return value of the `default` case and adds a `filter` to remove those values.
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@artonge
artongeforce-pushed the backport/32670/stable24 branch from e700161 to 8a2b70fCompareJune 9, 2022 13:07
@PVince81
PVince81 merged commit dbd1b20 into stable24Jun 10, 2022
@PVince81
PVince81 deleted the backport/32670/stable24 branch June 10, 2022 13:30
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: sharingjavascript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Pytal@artonge@PVince81