6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/23/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6617] Problem with invitations and WebDAV
*
Your Email Address
*
Spam protection
Enter the letters below:
.__..__ . ..__ .___. | |[__)|\ |[__) _/ |__|| | \|[__)./__.
Comment
> Sorry, but i think that the problem still in that conditions. > Specifically, the first one is not compatible with the scenario > described: > > > > - if one matches, but the user doesn't have permission, skip it > > > > in the scenario, only one matches (UID_A in Calendar_A created by > User_A), but user_B doest't have permission on Calendar_A, but he > wants to write in Calendar_B. > > > > I think the solution would be check permission only if the > calendar_id of one of the events found in database is the same that > target one. For me, makes sense check permission only where we want > to operate, i mean, the target calendar. > > > > So i propose 2 steps: > > > > Step 1: find an event stored in the calendar where i want to write > (given by variable $calendar extrated before): > > > > $existing_events = &$kronolith_driver->getByUID($uid,true); > > foreach ($existing_events as $ee){ > > if ($calendar==$ee->getCalendar()){ > > $existing_event=$ee; > > } > > } > > > > Step 2: if any event selected, then check permission as done before > > > > ¿What do you think?
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers