Skip to content

make sure to retrieve correct supershare based on current dir context - #493

Merged
mrow4a merged 2 commits into
masterfrom
e5729-bugfix/share-permissions
May 25, 2023
Merged

mrow4a merged 2 commits into
masterfrom
e5729-bugfix/share-permissions

Conversation

@mrow4a

@mrow4a mrow4a commented May 25, 2023 •

Copy link
Copy Markdown
Contributor

@mrow4a mrow4a self-assigned this May 25, 2023
@mrow4a
mrow4a force-pushed the e5729-bugfix/share-permissions branch 11 times, most recently from 001b96b to 70bc431 Compare May 25, 2023 12:23
@mrow4a
mrow4a marked this pull request as ready for review May 25, 2023 12:26
@mrow4a
mrow4a requested a review from pako81 May 25, 2023 12:26
@mrow4a
mrow4a force-pushed the e5729-bugfix/share-permissions branch from 70bc431 to 12635df Compare May 25, 2023 12:27
@mrow4a

mrow4a commented May 25, 2023

Copy link
Copy Markdown
Contributor Author

@pako81 this is rather straighforward change , if you could have a look.

Comment thread lib/DocumentService.php Resolved
@mrow4a
mrow4a force-pushed the e5729-bugfix/share-permissions branch from 12635df to 887f8dc Compare May 25, 2023 12:31
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 16 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@pako81

pako81 commented May 25, 2023

Copy link
Copy Markdown

Code-wise looks good to me.

@pako81

pako81 commented May 25, 2023 •

Copy link
Copy Markdown

Additionally, tested manually scenario described in https://github.com/owncloud/enterprise/issues/5729#issuecomment-1556702074 with this code in place and it behaves as expected: now share permissions are correctly evaluated 👍

@pako81

pako81 commented May 25, 2023 •

Copy link
Copy Markdown

@mrow4a is this dependent on a specific core version or, better said, if we release what we have in master now (including this PR) would the min core version still stay at 10.11.0 as per richdocuments 3.0.0 ?

Looking at the already merged PRs could not see anything forcing the increase of the min supported core version.

@jnweiger we may need a new richdocuments app release (see https://github.com/owncloud/enterprise/issues/5729 for Customer's urgency).

@mrow4a

mrow4a commented May 25, 2023

Copy link
Copy Markdown
Contributor Author

works with current core version.

@mrow4a
mrow4a merged commit 79e4b5f into master May 25, 2023
@delete-merged-branch
delete-merged-branch Bot deleted the e5729-bugfix/share-permissions branch May 25, 2023 18:46
@jnweiger

jnweiger commented May 26, 2023 •

Copy link
Copy Markdown
Contributor

@mrow4a related compatibility question: will it explode when loaded in 10.11.0 or will it just work as "broken" as before? If it is the latter, we can keep the minversion.

@mrow4a

mrow4a commented May 26, 2023

Copy link
Copy Markdown
Contributor Author

the fix is not related to oc10 version. Would work backwards compatible and fix issue in all of them

@jnweiger jnweiger mentioned this pull request Jun 1, 2023
8 of 42 tasks
@jnweiger jnweiger mentioned this pull request Jul 7, 2023
31 of 42 tasks
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.

3 participants