2006-12-14 22:18:02 +01:00
|
|
|
/* SOGoPermissions.m - this file is part of SOGo
|
|
|
|
*
|
2021-09-10 22:57:15 +02:00
|
|
|
* Copyright (C) 2006-2021 Inverse inc.
|
2006-12-14 22:18:02 +01:00
|
|
|
*
|
|
|
|
* This file is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This file is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; see the file COPYING. If not, write to
|
|
|
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import "SOGoPermissions.h"
|
|
|
|
|
2007-04-25 00:40:05 +02:00
|
|
|
/* General */
|
|
|
|
NSString *SOGoRole_ObjectCreator = @"ObjectCreator";
|
|
|
|
NSString *SOGoRole_ObjectEraser = @"ObjectEraser";
|
2007-04-28 00:07:50 +02:00
|
|
|
NSString *SOGoRole_ObjectViewer = @"ObjectViewer";
|
|
|
|
NSString *SOGoRole_ObjectEditor = @"ObjectEditor";
|
2007-06-01 22:53:33 +02:00
|
|
|
|
2007-05-22 20:41:51 +02:00
|
|
|
NSString *SOGoRole_FolderCreator = @"FolderCreator";
|
2007-05-19 02:33:27 +02:00
|
|
|
NSString *SOGoRole_FolderEraser = @"FolderEraser";
|
2021-09-10 22:57:15 +02:00
|
|
|
NSString *SOGoRole_FolderViewer = @"FolderViewer";
|
2007-06-01 22:53:33 +02:00
|
|
|
|
2007-04-26 03:16:19 +02:00
|
|
|
NSString *SOGoRole_AuthorizedSubscriber = @"AuthorizedSubscriber";
|
2010-06-02 18:42:58 +02:00
|
|
|
NSString *SOGoRole_PublicUser = @"PublicUser";
|
2007-05-18 01:02:09 +02:00
|
|
|
NSString *SOGoRole_None = @"None";
|
2007-04-25 00:40:05 +02:00
|
|
|
|
2007-02-15 22:01:33 +01:00
|
|
|
/* Calendar */
|
2007-04-25 00:40:05 +02:00
|
|
|
NSString *SOGoCalendarRole_Organizer = @"Organizer";
|
|
|
|
NSString *SOGoCalendarRole_Participant = @"Participant";
|
|
|
|
|
2010-01-15 00:19:19 +01:00
|
|
|
/* a special role that is given to all subscribed users */
|
|
|
|
NSString *SOGoCalendarRole_FreeBusyReader = @"FreeBusyReader";
|
|
|
|
|
2007-04-25 00:40:05 +02:00
|
|
|
NSString *SOGoCalendarRole_PublicViewer = @"PublicViewer";
|
|
|
|
NSString *SOGoCalendarRole_PublicDAndTViewer = @"PublicDAndTViewer";
|
|
|
|
NSString *SOGoCalendarRole_PublicModifier = @"PublicModifier";
|
|
|
|
NSString *SOGoCalendarRole_PublicResponder = @"PublicResponder";
|
|
|
|
NSString *SOGoCalendarRole_PrivateViewer = @"PrivateViewer";
|
|
|
|
NSString *SOGoCalendarRole_PrivateDAndTViewer = @"PrivateDAndTViewer";
|
|
|
|
NSString *SOGoCalendarRole_PrivateModifier = @"PrivateModifier";
|
|
|
|
NSString *SOGoCalendarRole_PrivateResponder = @"PrivateResponder";
|
|
|
|
NSString *SOGoCalendarRole_ConfidentialViewer = @"ConfidentialViewer";
|
|
|
|
NSString *SOGoCalendarRole_ConfidentialDAndTViewer = @"ConfidentialDAndTViewer";
|
|
|
|
NSString *SOGoCalendarRole_ConfidentialModifier = @"ConfidentialModifier";
|
|
|
|
NSString *SOGoCalendarRole_ConfidentialResponder = @"ConfidentialResponder";
|
2007-02-15 22:01:33 +01:00
|
|
|
|
2007-04-26 03:16:19 +02:00
|
|
|
NSString *SOGoCalendarRole_ComponentViewer = @"ComponentViewer";
|
|
|
|
NSString *SOGoCalendarRole_ComponentDAndTViewer = @"ComponentDAndTViewer";
|
|
|
|
NSString *SOGoCalendarRole_ComponentModifier = @"ComponentModifier";
|
|
|
|
NSString *SOGoCalendarRole_ComponentResponder = @"ComponentResponder";
|
|
|
|
|
2007-05-22 20:41:51 +02:00
|
|
|
NSString *SOGoMailRole_SeenKeeper = @"MailSeenKeeper";
|
|
|
|
NSString *SOGoMailRole_Writer = @"MailWriter";
|
|
|
|
NSString *SOGoMailRole_Poster = @"MailPoster";
|
|
|
|
NSString *SOGoMailRole_Expunger = @"MailExpunger";
|
|
|
|
NSString *SOGoMailRole_Administrator = @"MailAdministrator";
|
2007-05-19 02:33:27 +02:00
|
|
|
|
2007-04-25 00:40:05 +02:00
|
|
|
/* permissions */
|
2007-06-01 22:53:33 +02:00
|
|
|
NSString *SOGoPerm_AccessObject= @"Access Object";
|
2009-06-01 19:19:44 +02:00
|
|
|
NSString *SOGoPerm_DeleteObject= @"Delete Object";
|
2010-01-15 00:19:19 +01:00
|
|
|
|
|
|
|
/* the equivalent of "read-acl" in the WebDAV acls spec, which is currently
|
|
|
|
missing from SOPE */
|
|
|
|
|
|
|
|
NSString *SOGoPerm_ReadAcls = @"ReadAcls";
|
|
|
|
|
|
|
|
NSString *SOGoCalendarPerm_ReadFreeBusy = @"Read FreeBusy";
|
2007-04-26 03:16:19 +02:00
|
|
|
|
|
|
|
NSString *SOGoCalendarPerm_ViewWholePublicRecords = @"ViewWholePublicRecords";
|
|
|
|
NSString *SOGoCalendarPerm_ViewDAndTOfPublicRecords = @"ViewDAndTOfPublicRecords";
|
|
|
|
NSString *SOGoCalendarPerm_ModifyPublicRecords = @"ModifyPublicRecords";
|
|
|
|
NSString *SOGoCalendarPerm_RespondToPublicRecords = @"RespondToPublicRecords";
|
|
|
|
NSString *SOGoCalendarPerm_ViewWholePrivateRecords = @"ViewWholePrivateRecords";
|
|
|
|
NSString *SOGoCalendarPerm_ViewDAndTOfPrivateRecords = @"ViewDAndTOfPrivateRecords";
|
|
|
|
NSString *SOGoCalendarPerm_ModifyPrivateRecords = @"ModifyPrivateRecords";
|
|
|
|
NSString *SOGoCalendarPerm_RespondToPrivateRecords = @"RespondToPrivateRecords";
|
|
|
|
NSString *SOGoCalendarPerm_ViewWholeConfidentialRecords = @"ViewWholeConfidentialRecords";
|
|
|
|
NSString *SOGoCalendarPerm_ViewDAndTOfConfidentialRecords = @"ViewDAndTOfConfidentialRecords";
|
|
|
|
NSString *SOGoCalendarPerm_ModifyConfidentialRecords = @"ModifyConfidentialRecords";
|
|
|
|
NSString *SOGoCalendarPerm_RespondToConfidentialRecords = @"RespondToConfidentialRecords";
|
|
|
|
|
|
|
|
NSString *SOGoCalendarPerm_ViewAllComponent = @"ViewAllComponent";
|
|
|
|
NSString *SOGoCalendarPerm_ViewDAndT = @"ViewDAndT";
|
|
|
|
NSString *SOGoCalendarPerm_ModifyComponent = @"ModifyComponent";
|
|
|
|
NSString *SOGoCalendarPerm_RespondToComponent = @"RespondToComponent";
|