Update of /cvs/scoop/scoop/lib/Scoop/Calendar
In directory lithium.sabren.com:/tmp/cvs-serv12208/lib/Scoop/Calendar
Modified Files:
Views.pm
Log Message:
I'll get this damn patch committed someday.
Calendar module bugfixes and block updates.
--rusty
Index: Views.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Calendar/Views.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Views.pm 21 Jan 2005 14:14:30 -0000 1.1
--- Views.pm 25 Jan 2005 15:22:20 -0000 1.2
***************
*** 474,478 ****
my $cal = $S->cgi->param('calendar');
! return unless $S->var('allow_personal_calendar_view');
# no point in subscription links if we don't allow personalized views...
warn " (_calendar_subscribe_link) making link for calendar $cal" if $DEBUG;
--- 474,478 ----
my $cal = $S->cgi->param('calendar');
! return unless $S->var('allow_personal_calendar_view' && $S->have_perm('edit_own_calendar'));
# no point in subscription links if we don't allow personalized views...
warn " (_calendar_subscribe_link) making link for calendar $cal" if $DEBUG;