Products.MightyCal.Security.Permissions (version 1.3) | index /home/zope/lib/python/Products/MightyCal/Security/Permissions.py |
Global permissions definitions for the MightyCal Product. These permissions declarations are used in two ways: * First, by each classes' ClassSecurityInfo() object, which allows a class to make permissions assertions in regards to web access to methods. Note that this has nothing to do with whether these methods can be called by other disk-based Python methods, but only with whether the methods can be accessed via the Web by directly typing a URL (the typical method calling procedure in Zope), by DTML methods, by Python script methods, or by XMLRPC calls. * Second, the SecurityPolicy module uses its SECURITY_POLICY dictionary to directly apply these permissions on various objects to the various Security Roles. This has the effect of locally restricting or expanding the permissions that a particular Role has on that object and its children.
Data | ||
ANONYMOUS_ROLE = 'Anonymous' CALENDAR_ADMIN_ROLE = 'CalendarAdmin' CALENDAR_CONSOLE_POLICY = 'Calendar Console Policy' CRITERIA_POLICY = 'Policy for NamedCriterion and related objects' DEFAULT_POLICY = 'Default Security Policy' MANAGER_ROLE = 'Manager' MIGHTYCAL_CONSOLE_POLICY = 'MightyCal Console Policy' REGISTERED_USER_ROLE = 'RegisteredUserRole' STYLE_POLICY = 'Policy for Stylesheet and related objects' SUBMITTER_ROLE = 'EventSubmitterRole' TEMPLATE_POLICY = 'Policy for Template and related objects' USER_POLICY = 'Policy for Users and related objects' XMLRPC_ACCESS_ROLE = 'XMLRPC Access Role' __file__ = '/home/zope/lib/python/Products/MightyCal/Security/Permissions.pyc' __name__ = 'Products.MightyCal.Security.Permissions' __version__ = '$Revision: 1.3 $' permAccessContentsInfo = 'Access contents information' permAccessSessionData = 'Access session data' permAccessTransientObjects = 'Access Transient Objects' permAccessUserSessionData = 'Access arbitrary user session data' permAddCalendar = 'Add Calendars' permAddDocsAndImages = 'Add Documents, Images, and Files' permAddEvent = 'Add Events' permAddEventType = 'Add EventTypes' permAddFieldSpec = 'Add FieldSpec' permAddMightyCal = 'Add MightyCals' permAddMightyCalSubobject = 'Add MightyCal Subobject' permAddStyleElement = 'Add StyleElements' permAddStylesheet = 'Add Stylesheets' permAddTemplate = 'Add Templates' permAddUser = 'Add CalendarUser' permAdministerCalendar = 'Administer Calendar' permChangeFilesAndImages = 'Change Images and Files' permChangePermissions = 'Change permissions' permCreateTransientObjects = 'Create Transient Objects' permDelObjs = 'Delete objects' permManageAccessRules = 'Manage Access Rules' permManageProperties = 'Manage properties' permManageStatusConsole = 'Manage StatusConsole' permManageTransientObjectContainer = 'Manage Transient Object Container' permManageUsers = 'Manage users' permManageZCatalogEntries = 'Manage ZCatalog Entries' permManageZCatalogIndexEntries = 'Manage ZCatalogIndex Entries' permQueryVocabulary = 'Query Vocabulary' permSearchZCatalog = 'Search ZCatalog' permSearchZCatalogIndex = 'Search ZCatalogIndex' permUseMailhostServices = 'Use mailhost services' permView = 'View' permViewDebugScreen = 'View Debug Screens' permViewMgmtScreen = 'View management screens' permViewStatusConsole = 'View StatusConsole' permXMLRPCAccess = 'XMLRPC Access' |