feat(python): enable features tips for anonymous

This commit is contained in:
sshakndr
2025-03-03 14:52:30 +07:00
parent 27f21fd6f5
commit 11bbbebec1
3 changed files with 6 additions and 1 deletions

View File

@ -91,7 +91,8 @@ descr_user_0 = [
"Can't protect file",
"View file without collaboration",
"Cant submit forms",
"Can't refresh outdated file"
"Can't refresh outdated file",
"Tour of tips when opening a document"
]
USERS = [

View File

@ -345,6 +345,9 @@ def edit(request):
# settings for the Open file location menu button and upper right corner button
'goback': user.goback if user.goback is not None else '',
'close': user.close if user.close is not None else '',
'features': {
'featuresTips': user.id == 'uid-0'
}
}
}
}