Skip to content

improve handling of files we can't access in the scanner - #22943

Merged
icewind1991 merged 1 commit into
masterfrom
scanner-no-access-handling
Apr 5, 2023
Merged

improve handling of files we can't access in the scanner#22943
icewind1991 merged 1 commit into
masterfrom
scanner-no-access-handling

Conversation

@icewind1991

Copy link
Copy Markdown
Member

instead of erroring, remove the items from the cache.

this situation can be triggered if a user has access to a file but looses it afterwards

Signed-off-by: Robin Appelman robin@icewind.nl

@icewind1991icewind1991 added the 3. to review Waiting for reviews label Sep 18, 2020
@icewind1991icewind1991 added this to the Nextcloud 21 milestone Sep 18, 2020
@icewind1991

Copy link
Copy Markdown
MemberAuthor

/backport to stable20

@icewind1991

Copy link
Copy Markdown
MemberAuthor

/backport to stable19

@rullzerrullzer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good

@juliusknorrjuliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 22, 2020
@rullzer

Copy link
Copy Markdown
Member

@MorrisJobkeMorrisJobke added 2. developing Work in progress and removed 4. to release Ready to be released and/or waiting for tests to finish labels Oct 6, 2020
This was referenced Dec 14, 2020
This was referenced Dec 28, 2020
@rullzerrullzer modified the milestones: Nextcloud 21, Nextcloud 22Jan 8, 2021
@PVince81

Copy link
Copy Markdown
Member

@icewind1991 rebase and fix psalm ?

@icewind1991
icewind1991force-pushed the scanner-no-access-handling branch from 6039742 to 7565b10CompareMarch 24, 2021 16:05
@nextcloudnextcloud deleted a comment from faily-botBotMar 24, 2021
@icewind1991

Copy link
Copy Markdown
MemberAuthor

rebasing made psalm happy

@icewind1991icewind1991 added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Mar 24, 2021
@blizzzblizzz mentioned this pull request Jun 2, 2021
57 tasks
@blizzz

Copy link
Copy Markdown
Member

@icewind1991 could you check the tests?

@nextcloudnextcloud deleted a comment from blizzzJun 7, 2021
@nextcloudnextcloud deleted a comment from blizzzJun 7, 2021
@MorrisJobkeMorrisJobke mentioned this pull request Jun 10, 2021
59 tasks
@blizzzblizzz mentioned this pull request Jun 16, 2021
45 tasks
@blizzz

Copy link
Copy Markdown
Member

CI unhappy, 35 errors in samba tests

@blizzzblizzz mentioned this pull request Jun 23, 2021
39 tasks
@blizzzblizzz modified the milestones: Nextcloud 22, Nextcloud 23Jun 24, 2021
@MorrisJobke
MorrisJobke removed their request for review July 4, 2021 11:35
@skjnldsvskjnldsv mentioned this pull request Oct 13, 2021
@skjnldsv

This comment has been minimized.

@nextcloud-command
nextcloud-commandforce-pushed the scanner-no-access-handling branch from 7565b10 to 986a242CompareOctober 13, 2021 10:23
@skjnldsv

Copy link
Copy Markdown
Member

Samba tests failing

@skjnldsv

Copy link
Copy Markdown
Member

/rebase

@nextcloud-command
nextcloud-commandforce-pushed the scanner-no-access-handling branch from 986a242 to ebab4f8CompareOctober 22, 2021 11:04
This was referenced Oct 25, 2021
@skjnldsvskjnldsv removed this from the Nextcloud 23 milestone Nov 1, 2021

@max-nextcloudmax-nextcloud left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

fix samba (tests)

@icewind1991
icewind1991force-pushed the scanner-no-access-handling branch from ebab4f8 to 2364d1cCompareApril 4, 2023 15:36
instead of erroring, remove the items from the cache.
this situation can be triggered if a user has access to a file but looses it afterwards
Signed-off-by: Robin Appelman <robin@icewind.nl>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@icewind1991@rullzer@PVince81@MorrisJobke@blizzz@skjnldsv@juliusknorr@max-nextcloud