From 5b1ce772dedb414f1d52b25b6a44551627efb60e Mon Sep 17 00:00:00 2001 From: helmutm Date: Sun, 27 Jun 2010 13:11:17 +0000 Subject: [PATCH] add fields for report owner and for flagging a report as public git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3907 fd906abe-77d9-0310-91a1-e0d9ade77398 --- composer/report/interfaces.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/composer/report/interfaces.py b/composer/report/interfaces.py index 4a5ef66..8d020f2 100644 --- a/composer/report/interfaces.py +++ b/composer/report/interfaces.py @@ -73,6 +73,15 @@ class IReport(ITemplate): title=_(u'Description'), description=_(u'A brief description of the report.'), required=False,) + owner = schema.ASCIILine( + title=_(u'Owner'), + description=_(u'The user ID of the owner of the report.'), + required=True,) + public = schema.Bool( + title=_(u'Public'), + description=_(u'Check this field to make the report available ' + u'to others.'), + required=False,) manager = Attribute('The manager of this message object')