diff --git a/ChangeLog b/ChangeLog index 1ad3407f9..2789b6434 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-06-01 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoSystemDefaults.m (-enablePublicAccess): new + accessor for the SOGoEnablePublicAccess boolean user default. + * SoObjects/SOGo/SOGoUserManager.m (-contactInfosForUserWithUIDorEmail:): return a fixed dictionary of information for uid = "anonymous". diff --git a/SoObjects/SOGo/SOGoSystemDefaults.h b/SoObjects/SOGo/SOGoSystemDefaults.h index 1752eb8e9..e5cc39534 100644 --- a/SoObjects/SOGo/SOGoSystemDefaults.h +++ b/SoObjects/SOGo/SOGoSystemDefaults.h @@ -64,6 +64,8 @@ - (NSString *) CASServiceURL; +- (BOOL) enablePublicAccess; + @end #endif /* SOGOSYSTEMDEFAULTS_H */ diff --git a/SoObjects/SOGo/SOGoSystemDefaults.m b/SoObjects/SOGo/SOGoSystemDefaults.m index 5849ccd77..5825285de 100644 --- a/SoObjects/SOGo/SOGoSystemDefaults.m +++ b/SoObjects/SOGo/SOGoSystemDefaults.m @@ -296,4 +296,9 @@ BootstrapNSUserDefaults () return [self stringForKey: @"SOGoCASServiceURL"]; } +- (BOOL) enablePublicAccess +{ + return [self boolForKey: @"SOGoEnablePublicAccess"]; +} + @end