+2005-07-07 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * UIxComponent.m: added method -isAccessRestricted to indicate whether
+ certain options might have to be disabled due to restrictions
+ set by the customer (v0.9.26)
+
2005-07-06 Helge Hess <helge.hess@opengroupware.org>
* UIxComponent.m: added method -isInvokedBySafeMethod to check whether
return [[self context] valueForKey:@"locale"];
}
+/* Access is in several ways restricted if request is not coming from the
+ * Intranet
+ */
+
+- (BOOL)isAccessRestricted {
+ NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
+
+ return [ud boolForKey:@"SOGoAccessIsRestricted"];
+}
+
/* debugging */
- (BOOL)isUIxDebugEnabled {
# version file
-SUBMINOR_VERSION:=25
+SUBMINOR_VERSION:=26
# v0.9.18 requires NGExtensions v4.5.136