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