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

Remove Expired Link on Access #959

Closed
wants to merge 1 commit into from
Closed

Remove Expired Link on Access #959

wants to merge 1 commit into from

Conversation

refs
Copy link
Member

@refs refs commented Jul 9, 2020

Since there is no background jobs scheduled to wipe out expired resources, for the time being public links are going to be removed on a "on demand" basis, meaning whenever there is an API call that access the list of shares for a given resource, we will check whether the share is expired and delete it if so.

This code will not live in the managers (drivers), since we want the behavior to be consistent across implementations.

Closes owncloud/ocis#372

@refs refs requested a review from labkode as a code owner July 9, 2020 21:14
@refs refs requested review from PVince81 and C0rby July 9, 2020 21:14
@refs refs changed the title Remove Link on Access Remove Expired Link on Access Jul 10, 2020
changes as per review comments

log errors instead of writing to the response

abort execution on errors to prevent nil pointer exeptions
Copy link
Member

@labkode labkode left a comment

Choose a reason for hiding this comment

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

Can we have the share expiration of the core of reva inside the grpc service?

@labkode
Copy link
Member

labkode commented Jul 16, 2020

@PVince81 any update on this?

@refs
Copy link
Member Author

refs commented Jul 16, 2020

@labkode setting this one as WIP, as I hacked it around a little bit, and it's lacking some process. We moved it's priority to a future sprint and will retake it soon.

@refs
Copy link
Member Author

refs commented Dec 8, 2020

closing in favor of #1361

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.

[Reva] Delete expired Public Shares
4 participants