Roundup Tracker - Issues

Message2350

Author stefan
Recipients
Date 2006-11-20.14:00:38
Message-id
In-reply-to
Right now forms have to provide values for all
required fields unconditionally.

The templating code already checks for is_edit_ok,
and only generates form fields for those properties
that the user has edit permission for.

However, if the user doesn't have edit permission
for a required field, the html template has to
provide a hidden input with the old value, to
satisfy the validity check in cgi/form_parser.py.

The attached patch enhances the form parser by
allowing those required fields to be omitted if
the user doesn't have edit permission and the
property is already set in the database.
History
Date User Action Args
2009-02-03 14:21:56adminlinkissue1599740 messages
2009-02-03 14:21:56admincreate