-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add setting to change ttl on AccessVerifier
5 minutes sometimes just isn't enough. This makes it so it is configurable and not hard coded. Test Plan: * Add a video to a course * insert a video tag into the html of a page. ie: ``` <p><video style="border: 2px solid black;" width="450" height="225" controls="controls"> <source src="/courses/<course_id>/files/<file_id>/download" /></video></p> ``` * Inspect the network traffic while watching the video. * Obtain the jwt used to download the video. * Inspect that jwt and the exp should be the minutes out of what ever is set in the Setting, default 5 minutes.
- Loading branch information
Showing
3 changed files
with
3 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters