comparison src/server/constants.py @ 1005:b6dc6cf76473

server: added "chat" and "app" in default menu
author Goffi <goffi@goffi.org>
date Fri, 05 Jan 2018 16:30:05 +0100
parents 641664553a41
children 34240d08f682
comparison
equal deleted inserted replaced
1004:2f994b4e5a7d 1005:b6dc6cf76473
56 PAGES_ACCESS_PUBLIC = u"public" 56 PAGES_ACCESS_PUBLIC = u"public"
57 PAGES_ACCESS_PROFILE = u"profile" # a session with an existing profile must be started 57 PAGES_ACCESS_PROFILE = u"profile" # a session with an existing profile must be started
58 PAGES_ACCESS_ADMIN = u"admin" # only profiles set in admins_list can access the page 58 PAGES_ACCESS_ADMIN = u"admin" # only profiles set in admins_list can access the page
59 PAGES_ACCESS_ALL = (PAGES_ACCESS_NONE, PAGES_ACCESS_PUBLIC, PAGES_ACCESS_PROFILE, PAGES_ACCESS_ADMIN) 59 PAGES_ACCESS_ALL = (PAGES_ACCESS_NONE, PAGES_ACCESS_PUBLIC, PAGES_ACCESS_PROFILE, PAGES_ACCESS_ADMIN)
60 # names of the page to use for menu 60 # names of the page to use for menu
61 DEFAULT_MENU = ['login', 'blog_view'] 61 DEFAULT_MENU = ['login', 'blog_view', 'chat', 'app']
62 62
63 ## Session flags ## 63 ## Session flags ##
64 FLAG_CONFIRM = u"CONFIRM" 64 FLAG_CONFIRM = u"CONFIRM"
65 65
66 ## Data post ## 66 ## Data post ##