Changeset 7636 for main/waeup.sirp/trunk/src/waeup/sirp/authentication.py
- Timestamp:
- 13 Feb 2012, 09:10:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/authentication.py
r7321 r7636 150 150 151 151 def __init__(self, name, password, title=None, description=None, 152 email=None, phone=None, user_type=None,roles = []):152 email=None, phone=None, roles = []): 153 153 self.name = name 154 154 if title is None: 155 155 title = name 156 #if description is None:157 # description = title158 156 self.title = title 159 157 self.description = description 160 158 self.email = email 161 159 self.phone = phone 162 self.user_type = user_type163 160 self.setPassword(password) 164 #self.setSiteRolesForPrincipal(roles)161 self.setSiteRolesForPrincipal(roles) 165 162 # We don't want to share this dict with other accounts 166 163 self._local_roles = dict()
Note: See TracChangeset for help on using the changeset viewer.