Changeset 4108 for waeup


Ignore:
Timestamp:
6 May 2009, 06:49:40 (16 years ago)
Author:
uli
Message:

Add interface for user accounts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/interfaces.py

    r4088 r4108  
    104104        """
    105105
     106class IUserAccount(IWAeUPObject):
     107    """A user account.
     108    """
     109    name = schema.TextLine(
     110        title = u'User ID',
     111        description = u'Loginname',
     112        required = True,)
     113    title = schema.TextLine(
     114        title = u'Username',
     115        description = u'Real name',
     116        required = False,)
     117    description = schema.TextLine(
     118        title = u'User description',
     119        required = False,)
     120    description = schema.Password(
     121        title = u'Password',
     122        required = True,)
     123       
     124   
    106125class IUserContainer(IWAeUPObject):
    107126    """A container for users (principals).
Note: See TracChangeset for help on using the changeset viewer.