[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-users] Adding appointments in another calendar
From: |
Tom Gasaway |
Subject: |
Re: [Phpgroupware-users] Adding appointments in another calendar |
Date: |
Tue, 03 Sep 2002 09:37:22 -0600 |
I also noticed that if you remove yourself as a participant from an appointment
you can no longer edit that appointment as stated in # 2 below. This may be
design intent, but I changed function view in
calendar/inc/class.uicalendar.inc.php
so that the owner of an appointment can edit it even if they are not a
participant
by changing this line:
if($this->bo->owner == $event['owner'] ||
$this->bo->member_of_group($this->bo->owner))
to
if($this->bo->owner == $event['owner'] ||
$this->bo->member_of_group($this->bo->owner) ||
$GLOBALS['phpgw_info']['user']['account_id'] == $event['owner'])
You do have to go to a calendar that shows the appointment (i.e. a participants
calendar) to be
able to select the appointment to edit it.
Tom
Hsing-Foo Wang wrote:
>
> Hi,
>
> Using 0.9.14 final
>
> I'm looking for the best way of adding an appointment in another
> calendar.
>
> 1. I have rights to the calendar, select it in the drop down and add an
> appointment
> - The appointment will say it was made by the calendar owner himself
> (which is not true)
>
> 2. I make an appointment in my own calendar and invite somebody, I
> deselect myself as participant for I don't want it to show up in _my_
> calendar.
> - The appointment is in the other calendar, but _nobody_ can change it
> anymore!
>
> Please advice.
>
> TIA
>
> Regards,
> Hsing-Foo
>
> _______________________________________________
> Phpgroupware-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
- Re: [Phpgroupware-users] Adding appointments in another calendar,
Tom Gasaway <=