1/* SOGoPermissions.m - this file is part of SOGo 2 * 3 * Copyright (C) 2006-2014 Inverse inc. 4 * 5 * This file is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2, or (at your option) 8 * any later version. 9 * 10 * This file is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; see the file COPYING. If not, write to 17 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 * Boston, MA 02111-1307, USA. 19 */ 20 21#import "SOGoPermissions.h" 22 23/* General */ 24NSString *SOGoRole_ObjectCreator = @"ObjectCreator"; 25NSString *SOGoRole_ObjectEraser = @"ObjectEraser"; 26NSString *SOGoRole_ObjectViewer = @"ObjectViewer"; 27NSString *SOGoRole_ObjectEditor = @"ObjectEditor"; 28 29NSString *SOGoRole_FolderCreator = @"FolderCreator"; 30NSString *SOGoRole_FolderEraser = @"FolderEraser"; 31 32NSString *SOGoRole_AuthorizedSubscriber = @"AuthorizedSubscriber"; 33NSString *SOGoRole_PublicUser = @"PublicUser"; 34NSString *SOGoRole_None = @"None"; 35 36/* Calendar */ 37NSString *SOGoCalendarRole_Organizer = @"Organizer"; 38NSString *SOGoCalendarRole_Participant = @"Participant"; 39 40/* a special role that is given to all subscribed users */ 41NSString *SOGoCalendarRole_FreeBusyReader = @"FreeBusyReader"; 42 43NSString *SOGoCalendarRole_PublicViewer = @"PublicViewer"; 44NSString *SOGoCalendarRole_PublicDAndTViewer = @"PublicDAndTViewer"; 45NSString *SOGoCalendarRole_PublicModifier = @"PublicModifier"; 46NSString *SOGoCalendarRole_PublicResponder = @"PublicResponder"; 47NSString *SOGoCalendarRole_PrivateViewer = @"PrivateViewer"; 48NSString *SOGoCalendarRole_PrivateDAndTViewer = @"PrivateDAndTViewer"; 49NSString *SOGoCalendarRole_PrivateModifier = @"PrivateModifier"; 50NSString *SOGoCalendarRole_PrivateResponder = @"PrivateResponder"; 51NSString *SOGoCalendarRole_ConfidentialViewer = @"ConfidentialViewer"; 52NSString *SOGoCalendarRole_ConfidentialDAndTViewer = @"ConfidentialDAndTViewer"; 53NSString *SOGoCalendarRole_ConfidentialModifier = @"ConfidentialModifier"; 54NSString *SOGoCalendarRole_ConfidentialResponder = @"ConfidentialResponder"; 55 56NSString *SOGoCalendarRole_ComponentViewer = @"ComponentViewer"; 57NSString *SOGoCalendarRole_ComponentDAndTViewer = @"ComponentDAndTViewer"; 58NSString *SOGoCalendarRole_ComponentModifier = @"ComponentModifier"; 59NSString *SOGoCalendarRole_ComponentResponder = @"ComponentResponder"; 60 61NSString *SOGoMailRole_SeenKeeper = @"MailSeenKeeper"; 62NSString *SOGoMailRole_Writer = @"MailWriter"; 63NSString *SOGoMailRole_Poster = @"MailPoster"; 64NSString *SOGoMailRole_Expunger = @"MailExpunger"; 65NSString *SOGoMailRole_Administrator = @"MailAdministrator"; 66 67/* permissions */ 68NSString *SOGoPerm_AccessObject= @"Access Object"; 69NSString *SOGoPerm_DeleteObject= @"Delete Object"; 70 71/* the equivalent of "read-acl" in the WebDAV acls spec, which is currently 72 missing from SOPE */ 73 74NSString *SOGoPerm_ReadAcls = @"ReadAcls"; 75 76NSString *SOGoCalendarPerm_ReadFreeBusy = @"Read FreeBusy"; 77 78NSString *SOGoCalendarPerm_ViewWholePublicRecords = @"ViewWholePublicRecords"; 79NSString *SOGoCalendarPerm_ViewDAndTOfPublicRecords = @"ViewDAndTOfPublicRecords"; 80NSString *SOGoCalendarPerm_ModifyPublicRecords = @"ModifyPublicRecords"; 81NSString *SOGoCalendarPerm_RespondToPublicRecords = @"RespondToPublicRecords"; 82NSString *SOGoCalendarPerm_ViewWholePrivateRecords = @"ViewWholePrivateRecords"; 83NSString *SOGoCalendarPerm_ViewDAndTOfPrivateRecords = @"ViewDAndTOfPrivateRecords"; 84NSString *SOGoCalendarPerm_ModifyPrivateRecords = @"ModifyPrivateRecords"; 85NSString *SOGoCalendarPerm_RespondToPrivateRecords = @"RespondToPrivateRecords"; 86NSString *SOGoCalendarPerm_ViewWholeConfidentialRecords = @"ViewWholeConfidentialRecords"; 87NSString *SOGoCalendarPerm_ViewDAndTOfConfidentialRecords = @"ViewDAndTOfConfidentialRecords"; 88NSString *SOGoCalendarPerm_ModifyConfidentialRecords = @"ModifyConfidentialRecords"; 89NSString *SOGoCalendarPerm_RespondToConfidentialRecords = @"RespondToConfidentialRecords"; 90 91NSString *SOGoCalendarPerm_ViewAllComponent = @"ViewAllComponent"; 92NSString *SOGoCalendarPerm_ViewDAndT = @"ViewDAndT"; 93NSString *SOGoCalendarPerm_ModifyComponent = @"ModifyComponent"; 94NSString *SOGoCalendarPerm_RespondToComponent = @"RespondToComponent"; 95