[Zope-CMF] Proposal: CMFCalendar shows events depending on permissions
Rainer Thaden
Rainer Thaden <Thadi@gmx.de>
Fri, 27 Jun 2003 00:05:58 +0200
Hi,
the Events shown in the calendar are search results with
review_state='published'. Wouldn't it be better if events are shown
depending on the permissions the user has?
So a user with a manager role would also see the private and visible
events.
For a modification the review_state='published' has to be removed from
the catalog query in catalog_getevents and getEventsForThisDay in
CalendarTool.py and a line
query = ZTUtils.LazyFilter(query, skip='View')
has to be inserted.
Comments?
--
Regards,
Rainer Thadi@gmx.de