phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #830] Event creater cannot delete event when


From: nobody
Subject: [Phpgroupware-tracker] [Bug #830] Event creater cannot delete event when not participating
Date: Wed, 11 Sep 2002 16:31:57 -0400

=================== BUG #830: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=830&group_id=509

Changes by: Anonymous user        Date: 2002-Sep-11 16:31

------------------ Additional Follow-up Comments ----------------------------
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.



=================== BUG #830: FULL BUG SNAPSHOT ===================


Submitted by: flashk                    Project: phpGroupWare                   
Submitted on: 2002-Jul-09 08:38
Category:  calendar                     Bug Group:  0.9.14 release              
Severity:  5 - Major                    Priority:  Normal                       
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Platform Version:  Windows              
Reproducibility:  Every Time            

Summary:  Event creater cannot delete event when not participating

Original Submission:  Creat an event in which creater is not a participant.
Creater cannot delete the event (and neither can participant).

Giving reciprocal delete access to creater and participant still does not allow 
either to delete it (creater should be able to delete event though).

Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Sep-11 16:31             By: None
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.

-------------------------------------------------------
Date: 2002-Jul-16 09:05             By: leon
In my FreeBSD Unix, with release 0.9.14.RC3 updated with CVS when I try to 
delete an entry I put as Admin, I get a browser message about an inexistent 
page and the entry is not erased.


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=830&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]