# Add Entry from Products.CMFCore.CMFCorePermissions import * from Products.CMFCore.CMFCorePermissions import \ View, ModifyPortalContent, AccessContentsInformation, AddPortalContent security.declarePublic('ViewSchoolDataBase') ViewSchoolDataBase = 'View SchoolDataBase' setDefaultRoles(ViewSchoolDataBase, ('Manager','School')) security.declarePublic('CreateForm') CreateForm = 'Create Form' setDefaultRoles(CreateForm, ('Manager','Lecturer','Center of Pedagogical Practice','Methodologist')) security.declarePublic('MarkTask') MarkTask = 'Mark Task' setDefaultRoles(MarkTask, ('Manager','Owner','Lecturer',)) security.declarePublic('EditTask') EditTask = 'Edit Task' setDefaultRoles(EditTask, ('Manager','Owner',)) from Products.CMFCore import permissions MODIFY_CONTENT = permissions.ModifyPortalContent