mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #20082 from overleaf/jpa-limit-local-storage
[web] disable local storage of ro-mirror for admin site/debug copies GitOrigin-RevId: 33a65cb17a09e4e7f9b5e8e4fce1b4e1ba6c38f8
This commit is contained in:
parent
1182049d89
commit
1459ae9b65
3 changed files with 4 additions and 0 deletions
|
@ -727,6 +727,8 @@ const _ProjectController = {
|
|||
isTokenMember,
|
||||
isInvitedMember
|
||||
),
|
||||
roMirrorOnClientNoLocalStorage:
|
||||
Settings.adminOnlyLogin || project.name.startsWith('Debug: '),
|
||||
languages: Settings.languages,
|
||||
learnedWords,
|
||||
editorThemes: THEME_LIST,
|
||||
|
|
|
@ -38,6 +38,7 @@ meta(name="ol-inactiveTutorials", data-type="json" content=user.inactiveTutorial
|
|||
meta(name="ol-projectTags" data-type="json" content=projectTags)
|
||||
meta(name="ol-linkSharingWarning" data-type="boolean" content=linkSharingWarning)
|
||||
meta(name="ol-usedLatex" data-type="string" content=usedLatex)
|
||||
meta(name="ol-ro-mirror-on-client-no-local-storage" data-type="boolean" content=roMirrorOnClientNoLocalStorage)
|
||||
|
||||
// translations for the loading page, before i18n has loaded in the client
|
||||
meta(name="ol-loadingText", data-type="string" content=translate("loading"))
|
||||
|
|
|
@ -163,6 +163,7 @@ export interface Meta {
|
|||
'ol-reconfirmedViaSAML': string
|
||||
'ol-recurlyApiKey': string
|
||||
'ol-recurlySubdomain': string
|
||||
'ol-ro-mirror-on-client-no-local-storage': boolean
|
||||
'ol-samlError': SAMLError | undefined
|
||||
'ol-settingsGroupSSO': { enabled: boolean } | undefined
|
||||
'ol-settingsPlans': Plan[]
|
||||
|
|
Loading…
Reference in a new issue