2 Copyright (C) 2000-2003 SKYRIX Software AG
4 This file is part of OGo
6 OGo is free software; you can redistribute it and/or modify it under
7 the terms of the GNU Lesser General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 OGo is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with OGo; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
23 #ifndef __SoObjects_SoPermissions_H__
24 #define __SoObjects_SoPermissions_H__
26 #import <Foundation/NSString.h>
29 Constants for Permission Names and Roles
31 Reuse predefined permissions ! Added constants for most permissions found
32 in Zope to make this more convenient.
35 extern NSString *SoRole_Manager;
36 extern NSString *SoRole_Anonymous;
37 extern NSString *SoRole_Authenticated;
38 extern NSString *SoRole_Owner;
40 extern NSString *SoPerm_AccessContentsInformation;
41 extern NSString *SoPerm_AddDatabaseMethods;
42 extern NSString *SoPerm_AddDocumentsImagesAndFiles;
43 extern NSString *SoPerm_AddExternalMethods;
44 extern NSString *SoPerm_AddFolders;
45 extern NSString *SoPerm_AddMailHostObjects;
46 extern NSString *SoPerm_AddPythonScripts;
47 extern NSString *SoPerm_AddSiteRoots;
48 extern NSString *SoPerm_AddUserFolders;
49 extern NSString *SoPerm_AddVersions;
50 extern NSString *SoPerm_AddVocabularies;
51 extern NSString *SoPerm_ChangeDatabaseConnections;
52 extern NSString *SoPerm_ChangeExternalMethods;
53 extern NSString *SoPerm_ChangeImagesAndFiles;
54 extern NSString *SoPerm_ChangePythonScripts;
55 extern NSString *SoPerm_ChangeVersions;
56 extern NSString *SoPerm_ChangeBindings;
57 extern NSString *SoPerm_ChangeConfiguration;
58 extern NSString *SoPerm_ChangePermissions;
59 extern NSString *SoPerm_ChangeProxyRoles;
60 extern NSString *SoPerm_DeleteObjects;
61 extern NSString *SoPerm_ManageAccessRules;
62 extern NSString *SoPerm_ManageVocabulary;
63 extern NSString *SoPerm_ManageProperties;
64 extern NSString *SoPerm_ManageUsers;
65 extern NSString *SoPerm_OpenCloseDatabaseConnections;
66 extern NSString *SoPerm_QueryVocabulary;
67 extern NSString *SoPerm_SaveDiscardVersionChanges;
68 extern NSString *SoPerm_TakeOwnership;
69 extern NSString *SoPerm_TestDatabaseConnections;
70 extern NSString *SoPerm_UndoChanges;
71 extern NSString *SoPerm_UseDatabaseMethods;
72 extern NSString *SoPerm_UseMailHostServices;
73 extern NSString *SoPerm_View;
74 extern NSString *SoPerm_ViewHistory;
75 extern NSString *SoPerm_ViewManagementScreens;
76 extern NSString *SoPerm_WebDAVAccess;
77 extern NSString *SoPerm_WebDAVLockItems;
78 extern NSString *SoPerm_WebDAVUnlockItems;
80 #endif /* __SoObjects_SoPermissions_H__ */