]> err.no Git - scalable-opengroupware.org/blobdiff - SOGo/UI/Scheduler/UIxComponent+Agenor.m
Fixed 'only organizer can edit appointments' once and for all, moved some functionality
[scalable-opengroupware.org] / SOGo / UI / Scheduler / UIxComponent+Agenor.m
index e5831d6782d620977a12aced4eb052a734499272..9e3ae2733403e956653c5e22032e92f5c4c919cf 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "UIxComponent+Agenor.h"
 #include <SOGo/AgenorUserManager.h>
+#include <SOGo/WOContext+Agenor.h>
 #include "common.h"
 
 @implementation UIxComponent(Agenor)
@@ -39,4 +40,8 @@
   return [[AgenorUserManager sharedUserManager] getCNForUID:uid];
 }
 
+- (BOOL)isAccessRestricted {
+  return [[self context] isAccessFromIntranet] ? NO : YES;
+}
+
 @end /* UIxComponent(Agenor) */