Ersun Warncke
|
642b45d0d6
use v1 doc info api
|
8 lat temu |
Alasdair Smith
|
1330c8da73
Also check if v1 project exported if not found for read-only tokens
|
8 lat temu |
Alasdair Smith
|
435fe11115
Check if v1 project was exported if not found
|
8 lat temu |
Ersun Warncke
|
7b90fcb186
Merge pull request #969 from sharelatex/ew-check-doc-token-access
|
8 lat temu |
Ersun Warncke
|
f0c0834b0f
only do v1 access check when api config present
|
8 lat temu |
Alasdair Smith
|
298ee2dbb4
Fix v1 return to path
|
8 lat temu |
Alasdair Smith
|
ca895ae1b1
Redirect to v1 via sign in link
|
8 lat temu |
Ersun Warncke
|
f89e85231a
check access for doc on read only token
|
8 lat temu |
Alasdair Smith
|
d6350c963e
Remove projectExists flag from higher access check
|
8 lat temu |
Alasdair Smith
|
99dec02266
If no project found for read/write token, redirect to v1
|
8 lat temu |
Alasdair Smith
|
237810509a
If no project found for read token, redirect to v1
|
8 lat temu |
Alasdair Smith
|
f37040e4a4
Only redirect if has overleaf setting
|
8 lat temu |
Alasdair Smith
|
8a969d1c25
Redirect directly from controller instead of via handler
|
8 lat temu |
Alasdair Smith
|
9d600afdf8
Fix failing tests for token access
|
8 lat temu |
Alasdair Smith
|
e0ce988d32
Intelligently redirect to v1 if no v2 project found for token
|
8 lat temu |
Shane Kilkelly
|
5df4556e9c
Set redirect when bouncing away from token route
|
9 lat temu |
Shane Kilkelly
|
2b4d516353
When anon is denied access to read-write token, redirect to restricted
|
9 lat temu |
Shane Kilkelly
|
caf6315d4d
Remove old module import
|
9 lat temu |
Shane Kilkelly
|
fcb04472a1
De-duplicate logic in TokenAccessController
|
9 lat temu |
Shane Kilkelly
|
d8486afe5d
Account for higher-access in the token read-only path too
|
9 lat temu |
Shane Kilkelly
|
9984ab081e
Generalise the higher-access logic for read-write token path
|
9 lat temu |
Shane Kilkelly
|
b36849d262
Remove a dead event
|
9 lat temu |
Shane Kilkelly
|
a212fb1a05
Add "[TokenAccess]" context to log lines
|
9 lat temu |
Shane Kilkelly
|
8561b69ee9
Remove tokenMembers sync to clients
|
9 lat temu |
Shane Kilkelly
|
74c231826d
WIP: track changes with token-access
|
9 lat temu |
Shane Kilkelly
|
0e44b319db
Change `anonToken` and such to `anonymousAccessToken`
|
9 lat temu |
Shane Kilkelly
|
7d2bde85ff
Add a setting to enable anonymous read-and-write link sharing
|
9 lat temu |
Shane Kilkelly
|
855fe2e143
If user is project owner, don't add them as a token user
|
9 lat temu |
Shane Kilkelly
|
ad999a72b6
If a token-based project not found, check private overleaf project
|
9 lat temu |
Shane Kilkelly
|
7b33f8b4c2
Unit test TokenAccessController
|
9 lat temu |