Roundup Tracker - Issues

Message4681

Author pcaulagi
Recipients pcaulagi
Date 2012-11-24.14:37:54
Message-id <1353767876.13.0.298683058122.issue2550783@psf.upfronthosting.co.za>
In-reply-to
There is a typo in the devel templates -
share/roundup/templates/devel/schema.py

Organisation is spelt once with a 'z' and once with a 's'.  So the user
will not be able to edit the organisation at all -

user = Class(db, "user",
             username=String(),
             password=Password(),
             address=String(),
             realname=String(),
             phone=String(),
             organisation=String(),
             alternate_addresses=String(),
             queries=Multilink('query'),
             roles=String(),     # comma-separated string of Role names
             timezone=String(),
             vcs_name=String())

p = db.security.addPermission(name='Edit', klass='user', check=own_record,
    description="User is allowed to edit their own user details",
    properties=('username', 'password',
                'address', 'realname',
                'phone', 'organization',
                'alternate_addresses',
                'queries',
                'timezone')) # Note: 'roles' excluded - users should not
be able to edit their own
History
Date User Action Args
2012-11-24 14:37:56pcaulagisetrecipients: + pcaulagi
2012-11-24 14:37:56pcaulagisetmessageid: <1353767876.13.0.298683058122.issue2550783@psf.upfronthosting.co.za>
2012-11-24 14:37:55pcaulagilinkissue2550783 messages
2012-11-24 14:37:54pcaulagicreate