~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to lib/conf/apps.py

  • Committer: mattgiuca
  • Date: 2008-02-21 07:08:07 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:533
auth/authenticate: Much done!
    Fixed immediate failure if user not in DB (now sets user to None to give
    it the chance to pulldown).
    Now writes the user to the DB if a user object is returned.
    Fixed simple_db_auth raising if the user is not in the DB. It now returns
    None, again, to give chance to pulldown.
    Fixed importing modules - the auth dir is not in sys.path so there are
    import errors. Did some foo (a LOT of magic) to get the auth dir in
    sys.path.

auth/ldap_auth: Fixed missing import.
auth/guest_auth: Added new auth module, guest. This is more of a toy.
    It auths guest/guest and also returns a new user which is written to the
    DB - so it's like a user pulldown module.

userdb/users.sql: Fixed rolenms allowed - these did not match caps.Role.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
                    requireauth = False,
100
100
                    hashelp = False)
101
101
 
 
102
app_forum = App(dir = "forum",
 
103
                    name = "Forum",
 
104
                    icon = "forum.png",
 
105
                    requireauth = True,
 
106
                    hashelp = False)
 
107
 
 
108
app_tos = App(dir = "tos",
 
109
                    name = "Terms of Service",
 
110
                    requireauth = False,
 
111
                    hashelp = False)
 
112
 
 
113
app_userservice = App(dir = "userservice",
 
114
                    name = "User Management Service",
 
115
                    requireauth = False,
 
116
                    hashelp = False)
 
117
 
102
118
# Mapping URL names to apps
103
119
 
104
120
app_url = {
112
128
    "serve" : app_server,
113
129
    "download" : app_download,
114
130
    "help" : app_help,
 
131
    "forum" : app_forum,
 
132
    "tos" : app_tos,
 
133
    "userservice" : app_userservice,
115
134
}
116
135
if enable_debuginfo:
117
136
    app_url["debuginfo"] = app_debuginfo
120
139
# (The others are hidden unless they are linked to)
121
140
# Note: The values in this list are the URL names as seen in app_url.
122
141
 
123
 
apps_in_tabs = ["files", "edit", "console", "tutorial", "help"]
 
142
apps_in_tabs = ["files", "edit", "console", "tutorial", "forum", "help"]