Monotone-Parent: 3b8627a8b52c86d059ada9c0387459d8654bb482

Monotone-Revision: 66fe156475b1f789bc5d20c857350ca9afea9556

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-09T16:40:15
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-11-09 16:40:15 +00:00
parent b3bd3c5adf
commit 44190a2103
4 changed files with 28 additions and 24 deletions
+17 -3
View File
@@ -35,11 +35,13 @@
#import <NGExtensions/NSString+misc.h>
#import <NGExtensions/NSURL+misc.h>
#import <SoObjects/SOGo/SOGoUser.h>
#import <SoObjects/SOGo/SOGoObject.h>
#import <SoObjects/SOGo/SOGoCustomGroupFolder.h>
#import <SoObjects/SOGo/NSCalendarDate+SOGo.h>
#import <SoObjects/SOGo/NSString+Utilities.h>
#import <SoObjects/SOGo/SOGoUser.h>
#import <SoObjects/SOGo/SOGoObject.h>
#import <SoObjects/SOGo/SOGoContentObject.h>
#import <SoObjects/SOGo/SOGoCustomGroupFolder.h>
#import <SoObjects/SOGo/SOGoPermissions.h>
#import "UIxJSClose.h"
@@ -423,6 +425,18 @@ static BOOL uixDebugEnabled = NO;
return jsClose;
}
/* common conditions */
- (BOOL) canCreateOrModify
{
SoSecurityManager *sm;
sm = [SoSecurityManager sharedSecurityManager];
return (![sm validatePermission: SoPerm_ChangeImagesAndFiles
onObject: [self clientObject]
inContext: context]);
}
/* SoUser */
- (NSString *) shortUserNameForDisplay