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

move share permission logic to storage wrapper #39863

Merged
merged 2 commits into from
Sep 4, 2023

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Aug 14, 2023

this way we only have to determine the share permissions once per storage instead of once per file

Saves about 30% time in large file listings: https://blackfire.io/profiles/compare/e6ab53a7-9b04-415b-ba07-1dd069fb19a1/graph

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Aug 14, 2023
@icewind1991 icewind1991 added this to the Nextcloud 28 milestone Aug 14, 2023
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, blizzz and Fenn-CS and removed request for a team August 14, 2023 13:51
@icewind1991 icewind1991 changed the title more share permission logic to storage wrapper move share permission logic to storage wrapper Aug 14, 2023
@icewind1991 icewind1991 force-pushed the sharing-mask-wrapper branch 2 times, most recently from 3f5d00c to a3e6dd2 Compare August 14, 2023 14:33
this way we only have to determine the share permissions once

Signed-off-by: Robin Appelman <[email protected]>
@icewind1991 icewind1991 force-pushed the sharing-mask-wrapper branch 2 times, most recently from 1701426 to 79dab07 Compare August 15, 2023 16:27
@icewind1991 icewind1991 added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Aug 15, 2023
@icewind1991 icewind1991 force-pushed the sharing-mask-wrapper branch 2 times, most recently from b3026cd to f15f58c Compare August 15, 2023 18:25
@icewind1991 icewind1991 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Aug 15, 2023
@icewind1991 icewind1991 force-pushed the sharing-mask-wrapper branch 2 times, most recently from 2f49e8c to 1ce6452 Compare August 16, 2023 09:01
@icewind1991 icewind1991 merged commit 64f62f7 into master Sep 4, 2023
40 checks passed
@icewind1991 icewind1991 deleted the sharing-mask-wrapper branch September 4, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants