mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-22 07:14:21 +00:00
Monotone-Parent: 745cbd44946c7043041f13e5fec74b5d72fe71c5
Monotone-Revision: 4d5fa5d41e23e83fdb8250dd90fc965723ec9b29 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-27T23:18:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
ea7cc376ba
commit
dcf2e65b52
3 files changed
+6
-8
No files matched your search
@@ -29,15 +29,15 @@
|
||||
|
||||
@implementation UIxMailUserRightsEditor
|
||||
|
||||
- (void) setUserCanSeeFolder: (BOOL) userCanSeeFolder
|
||||
- (void) setUserCanReadMails: (BOOL) userCanReadMails
|
||||
{
|
||||
if (userCanSeeFolder)
|
||||
if (userCanReadMails)
|
||||
[self appendRight: SOGoRole_ObjectViewer];
|
||||
else
|
||||
[self removeRight: SOGoRole_ObjectViewer];
|
||||
}
|
||||
|
||||
- (BOOL) userCanSeeFolder
|
||||
- (BOOL) userCanReadMails
|
||||
{
|
||||
return [userRights containsObject: SOGoRole_ObjectViewer];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user