[#13055] Enable copy of Events from shared calendar without delete permission
Summary Enable copy of Events from shared calendar without delete permission
Queue Kronolith
Queue Version Git master
Type Enhancement
State Assigned
Priority 1. Low
Owners Horde Developers
Requester Olbrichj@students.uni-marburg.de
Created 2014-03-17 (2337 days ago)
Due
Updated 2016-01-28 (1655 days ago)
Assigned 2016-01-28 (1655 days ago)
Resolved
Milestone
Patch Yes

Comments
Olbrichj@students.uni-marburg.de 2014-03-17 08:10:01
As mentioned on the mailing list, it is currently not possible to 
"save as" an event in your own calendar if the original event is in a 
shared calendar where you don't have delete permission.

The attached patch tries to fix this:
* the list of "target calendars" is shown in the edit dialog 
regardless of the "delete" permission.
* the "save" button is disabled if saving in the currently selected 
calendar would require delete permission in the shared calendar.

Olbrichj@students.uni-marburg.de 2014-03-17 08:10:45
Captcha killed attachment again...


Olbrichj@students.uni-marburg.de 2014-03-17 08:52:27
This only works in basic view so far...


Jan Schneider <jan@horde.org> 2014-03-17 09:51:58
> This only works in basic view so far...
>
Do plan to extend the patch to the dynamic view too?

Olbrichj@students.uni-marburg.de 2014-03-17 09:53:37
>> This only works in basic view so far...
>>
> Do plan to extend the patch to the dynamic view too?

Yes, but it is getting more and more kludgy... I will post a working 
patch soon.

Olbrichj@students.uni-marburg.de 2014-03-17 12:49:30
Here is the patch for dynamic view.


Jan Schneider <jan@horde.org> 2016-01-28 14:38:53
We should check the actual permissions and not whether a button is 
enabled in the form, but it's a start.