mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 18:35:25 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user