aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/beweb/model.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2006-04-11 16:41:47 -0400
committerAaron Bentley <abentley@panoramicfeedback.com>2006-04-11 16:41:47 -0400
commitec4b4a390bff3a0225681380ae949e6da64401c6 (patch)
tree7588535caac0144705d5eaee6e8c09ea0a0ff06d /Bugs-Everywhere-Web/beweb/model.py
parent868f40a1fce89c338a50290437afc6834fcf094d (diff)
downloadbugseverywhere-ec4b4a390bff3a0225681380ae949e6da64401c6.tar.gz
Use people listings from identity framework, not config, on bug pages.
Diffstat (limited to 'Bugs-Everywhere-Web/beweb/model.py')
-rw-r--r--Bugs-Everywhere-Web/beweb/model.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugs-Everywhere-Web/beweb/model.py b/Bugs-Everywhere-Web/beweb/model.py
index 33d2d2f..2bda299 100644
--- a/Bugs-Everywhere-Web/beweb/model.py
+++ b/Bugs-Everywhere-Web/beweb/model.py
@@ -6,5 +6,8 @@ from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission
hub = PackageHub("beweb")
__connection__ = hub
+def people_map():
+ return dict([(u.userId, u.displayName) for u in TG_User.select()])
+
# class YourDataClass(SQLObject):
# pass