- Timestamp:
- 26 Apr 2009, 01:59:11 (16 years ago)
- Location:
- waeup/branches/ulif-rewrite/src/waeup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/app.py
r4084 r4088 10 10 from waeup.viewlets import MainArea, LeftSidebar, Index, Manage, FormWrapMixin 11 11 from waeup.authentication import setup_authentication 12 from waeup.users import UserContainer 12 13 13 14 class University(grok.Application, grok.Container): … … 30 31 self.hostels = createObject(u'waeup.HostelContainer') 31 32 self.faculties = createObject(u'waeup.FacultyContainer') 33 self.users = UserContainer() 32 34 33 35 def traverse(self, name): -
waeup/branches/ulif-rewrite/src/waeup/interfaces.py
r4049 r4088 103 103 Returns a Python object. 104 104 """ 105 106 class IUserContainer(IWAeUPObject): 107 """A container for users (principals). 108 109 These users are used for authentication purposes. 110 """ 111 112 def addUser(name, password, title=None, description=None): 113 """Add a user. 114 """ 115 116 def delUser(name): 117 """Delete a user if it exists. 118 """
Note: See TracChangeset for help on using the changeset viewer.