- Timestamp:
- 5 Jul 2011, 12:10:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py
r6481 r6508 41 41 42 42 class RoleSource(BasicSourceFactory): 43 """A source for global roles. 44 """ 43 45 def getValues(self): 44 46 # late import: in interfaces we should not import local modules … … 193 195 name = schema.TextLine( 194 196 title = u'User ID', 195 description = u'Login name',197 description = u'Login name', 196 198 required = True,) 197 199 title = schema.TextLine( 198 title = u'User name',200 title = u'User name', 199 201 description = u'Real name', 200 202 required = False,) … … 206 208 required = True,) 207 209 roles = schema.List( 208 title = u' Roles',210 title = u'Global roles', 209 211 value_type = schema.Choice(source=RoleSource())) 210 212
Note: See TracChangeset for help on using the changeset viewer.