comparison src/server/constants.py @ 1082:8d8b88bfddad

pages: default menu update
author Goffi <goffi@goffi.org>
date Tue, 27 Mar 2018 08:40:27 +0200
parents ee1327eb2b84
children 4d1c4bd4931a
comparison
equal deleted inserted replaced
1081:ed67265205c4 1082:8d8b88bfddad
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', 'chat', 'blog_view', 'forums', 'photos', 'files', 'app'] 61 DEFAULT_MENU = ['login', 'chat', 'blog', 'forums', 'photos', 'files', 'tickets', 'merge-requests', '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 ##