Changeset 4125 for waeup/branches/ulif-rewrite
- Timestamp:
- 10 May 2009, 14:54:21 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/authentication.py
r4109 r4125 79 79 grok.implements(IUserAccount) 80 80 81 def __init__(self, name, password, title=None, description=None): 81 def __init__(self, name, password, title=None, description=None, 82 roles = []): 82 83 self.name = name 83 84 if title is None: … … 88 89 self.description = description 89 90 self.setPassword(password) 91 self.roles = roles 90 92 91 93 def setPassword(self, password):
Note: See TracChangeset for help on using the changeset viewer.