Ersun Warncke
|
642b45d0d6
use v1 doc info api
|
8 anni fa |
Alasdair Smith
|
435fe11115
Check if v1 project was exported if not found
|
8 anni fa |
Ersun Warncke
|
7b90fcb186
Merge pull request #969 from sharelatex/ew-check-doc-token-access
|
8 anni fa |
Ersun Warncke
|
eeed857dd9
change api path
|
8 anni fa |
Ersun Warncke
|
f0c0834b0f
only do v1 access check when api config present
|
8 anni fa |
Alasdair Smith
|
d6350c963e
Remove projectExists flag from higher access check
|
8 anni fa |
Alasdair Smith
|
99dec02266
If no project found for read/write token, redirect to v1
|
8 anni fa |
Alasdair Smith
|
237810509a
If no project found for read token, redirect to v1
|
8 anni fa |
Alasdair Smith
|
9d600afdf8
Fix failing tests for token access
|
8 anni fa |
Shane Kilkelly
|
9984ab081e
Generalise the higher-access logic for read-write token path
|
9 anni fa |
Shane Kilkelly
|
0e44b319db
Change `anonToken` and such to `anonymousAccessToken`
|
9 anni fa |
Shane Kilkelly
|
eab77aba91
Abstract away the token-protection logic
|
9 anni fa |
Shane Kilkelly
|
7d2bde85ff
Add a setting to enable anonymous read-and-write link sharing
|
9 anni fa |
Shane Kilkelly
|
855fe2e143
If user is project owner, don't add them as a token user
|
9 anni fa |
Shane Kilkelly
|
ad999a72b6
If a token-based project not found, check private overleaf project
|
9 anni fa |
Shane Kilkelly
|
ac513a1355
Refactor to not pass `req` down into Auth modules
|
9 anni fa |
Shane Kilkelly
|
b6c2a8f7f7
Tidy up callbacks
|
9 anni fa |
Shane Kilkelly
|
ede497f4b3
Unit test TokenAccessHandler
|
9 anni fa |
Shane Kilkelly
|
574b115022
Working token-based access
|
9 anni fa |
Shane Kilkelly
|
81170d472d
Add token-access routes
|
9 anni fa |