mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
See ChangeLog
Monotone-Parent: be9e28d5d42ed05605b27d2127cf29b07678495b Monotone-Revision: 5de6a9584cf27a2c1dad8d1ab8b84fc9ddab2720 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-04-25T10:31:08 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -766,6 +766,28 @@
|
||||
return [authValue boolValue];
|
||||
}
|
||||
|
||||
/* resource */
|
||||
- (BOOL) isResource
|
||||
{
|
||||
NSNumber *v;
|
||||
|
||||
v = [self _fetchFieldForUser: @"isResource"];
|
||||
|
||||
return (v && [v intValue]);
|
||||
}
|
||||
|
||||
- (int) numberOfSimultaneousBookings
|
||||
{
|
||||
NSNumber *v;
|
||||
|
||||
v = [self _fetchFieldForUser: @"numberOfSimultaneousBookings"];
|
||||
|
||||
if (v)
|
||||
return [v intValue];
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* module access */
|
||||
- (BOOL) canAccessModule: (NSString *) module
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user