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

Expiration date of a new public link from quick action #987

Closed
exalate-issue-sync bot opened this issue Nov 30, 2020 · 4 comments · Fixed by #1035
Closed

Expiration date of a new public link from quick action #987

exalate-issue-sync bot opened this issue Nov 30, 2020 · 4 comments · Fixed by #1035
Labels

Comments

@exalate-issue-sync
Copy link

A public link that was created with the public link quick action on ocis sets an expiration date to start of today + 0 days, because we don't have a default expiration time span in ocis. In oc10 the default expiry is required to be >= 1 day.

Decision needed:

  1. don't set a default expiration date for links from quick actions in ocis (set capabilities.files_sharing.public.expire_date.enabled to false)
  2. decide a default expiry for public links (set capabilities.files_sharing.public.expire_date.days to a value which has to be decided first)
  3. implement default expiry based on settings and hook it into capabilities.files_sharing.public.expire_date
@exalate-issue-sync
Copy link
Author

Benedikt Kulmann commented: Since we don't have expirations for public links at all, we'll hardcode capabilities.files_sharing.public.expire_date.enabled to false.

@exalate-issue-sync
Copy link
Author

Alex Unger commented: > Since we don't have expirations for public links at all, we'll hardcode capabilities.files_sharing.public.expire_date.enabled to false.

This statement is no longer true. cs3org/reva#1361 got merged and it addresses time sensitive public shares, so public shares do expire now, and they are removed from the response.

@exalate-issue-sync
Copy link
Author

Benedikt Kulmann commented: Awesome! :)
[~pmaier] do we still want public link expiration disabled by default on the quick action for public links? Or do we want to have a hardcoded default expiration span now?

@exalate-issue-sync
Copy link
Author

Patrick Maier commented: > Patrick Maier do we still want public link expiration disabled by default on the quick action for public links? Or do we want to have a hardcoded default expiration span now?

Yes, no hardcoded expiration date for quick action links, please.
a) We should not hardcode an arbitrary value for this.
b) Defaults and enforcements for expiration dates are a separate feature we do not have yet.
c) The quick action public links on the desktop client also do not set an expiration date, so we're consistent here.

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 a pull request may close this issue.

0 participants