Project

General

Profile

Actions

Feature #66948

closed

Make workspaces.previewLinkTTLHours setting part of the WS itself

Added by Patrick Gaumond over 9 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2015-05-13
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Right now the preview links lifetime in WS are related to User TSconfig. In an environment with many WS, some may need different duration/TTL. Make it related to user makes no sense in such installation.

If someone needs TTL of 2 days, 7 days and 30 days with Preview links genrated by the same editor, how could this be done with conditions or anything at the moment? Creating "dummy users with different TTL" is not quite elegant...

3 potential solutions :

  1. A quick fix could be to add PAGE TSconfig support for workspaces.previewLinkTTLHours.
  2. Another way to solve the problem could be to let editors in BE to choose from a dropdown menu or enter a duration of the preview link then save it into sys_preview with that timestamp.
  3. An even more satisfactory solution would be to store the TTL value in the WS itself.
Actions

Also available in: Atom PDF