comparison src/server/constants.py @ 1111:4d1c4bd4931a

pages (events): added root, admin, new, rsvp and view pages
author Goffi <goffi@goffi.org>
date Thu, 21 Jun 2018 01:19:57 +0200
parents 8d8b88bfddad
children cdd389ef97bc
comparison
equal deleted inserted replaced
1110:045e8bdaed4f 1111:4d1c4bd4931a
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', 'forums', 'photos', 'files', 'tickets', 'merge-requests', 'app'] 61 DEFAULT_MENU = ['login', 'chat', 'blog', 'forums', 'photos', 'files', 'events', '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 ##