mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-29 05:45:42 +00:00
1 parent
826c10de25
commit
47456c9ebd
2 files changed
+2
-1
No files matched your search
@@ -2417,7 +2417,7 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent
|
||||
roles = [[context activeUser] rolesForObject: organizerObject
|
||||
inContext: context];
|
||||
|
||||
if (![roles containsObject: @"ComponentModifier"])
|
||||
if (![roles containsObject: @"ComponentModifier"] && ![[context activeUser] isSuperUser])
|
||||
{
|
||||
return [NSException exceptionWithHTTPStatus: 409
|
||||
reason: @"Not allowed to perform this action. Wrong SENT-BY being used regarding access rights on organizer's calendar."];
|
||||
|
||||
Reference in new issue
Block a user