Ignore:
Timestamp:
12 May 2015, 15:19:10 (10 years ago)
Author:
Henrik Bettermann
Message:

Enable temporary suspension of officer accounts. Plugins must be updated after restart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py

    r12915 r12926  
    549549    """
    550550
    551     failed_logins = Attribute("""FailedLoginInfo for this account""")
     551    failed_logins = Attribute('FailedLoginInfo for this account')
    552552
    553553    name = schema.TextLine(
    554554        title = _(u'User Id'),
    555         description = u'Login name of user',
     555        description = _(u'Login name of user'),
    556556        required = True,)
    557557
     
    562562    public_name = schema.TextLine(
    563563        title = _(u'Public Name'),
    564         description = u"Substitute for officer's real name "
    565                        "in student object histories.",
     564        description = _(u"Substitute for officer's real name "
     565                       "in student object histories."),
    566566        required = False,)
    567567
     
    589589        )
    590590
     591    suspended = schema.Bool(
     592        title = _(u'Account suspended'),
     593        description = _(u'If set, the account is immediately blocked.'),
     594        default = False,
     595        required = False,
     596        )
    591597
    592598
Note: See TracChangeset for help on using the changeset viewer.