mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 13:43:22 +00:00
Monotone-Parent: c69f7f8d6e6f9e8f9e94f61cae6ed7a39e26e747
Monotone-Revision: b3c4fef061776cff263262f03c363766fa58d479 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-27T21:06:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -42,19 +42,6 @@
|
||||
return [userRights containsObject: SOGoRole_ObjectViewer];
|
||||
}
|
||||
|
||||
- (void) setUserCanReadMails: (BOOL) userCanReadMails
|
||||
{
|
||||
if (userCanReadMails)
|
||||
[self appendRight: SOGoRole_ObjectReader];
|
||||
else
|
||||
[self removeRight: SOGoRole_ObjectReader];
|
||||
}
|
||||
|
||||
- (BOOL) userCanReadMails
|
||||
{
|
||||
return [userRights containsObject: SOGoRole_ObjectReader];
|
||||
}
|
||||
|
||||
- (void) setUserCanMarkMailsRead: (BOOL) userCanMarkMailsRead
|
||||
{
|
||||
if (userCanMarkMailsRead)
|
||||
@@ -183,11 +170,6 @@
|
||||
else
|
||||
[self removeRight: SOGoRole_ObjectViewer];
|
||||
|
||||
if ([[request formValueForKey: SOGoRole_ObjectReader] length] > 0)
|
||||
[self appendRight: SOGoRole_ObjectReader];
|
||||
else
|
||||
[self removeRight: SOGoRole_ObjectReader];
|
||||
|
||||
if ([[request formValueForKey: SOGoMailRole_SeenKeeper] length] > 0)
|
||||
[self appendRight: SOGoMailRole_SeenKeeper];
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user