# 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'))