def afterSetUp(self): addShibbolethPermissions(self.portal) self.folder.invokeFactory('Folder', 'layer1a') self.folder.layer1a.invokeFactory('Folder', 'layer2a') self.folder.invokeFactory('Folder', 'layer1b') self.acl_users = self.portal.acl_users self.plugin = self.acl_users.ShibbolethPermissions self.plugin.manage_changeProperties( {'http_sharing_tokens': ['HTTP_DUMMY_ATTR']}) path = '/'.join(self.folder.layer1a.getPhysicalPath()) self.plugin.addLocalRoles(path, {'HTTP_DUMMY_ATTR': 'eggs'}, ['Editor',]) self.app.REQUEST.environ = {}
def afterSetUp(self): addShibbolethPermissions(self.portal) self.folder.invokeFactory('Folder', 'layer1a') self.folder.layer1a.invokeFactory('Folder', 'layer2a') self.folder.invokeFactory('Folder', 'layer1b') self.acl_users = self.portal.acl_users self.plugin = self.acl_users.ShibbolethPermissions self.plugin.manage_changeProperties( {'http_sharing_tokens': ['HTTP_DUMMY_ATTR']}) path = '/'.join(self.folder.layer1a.getPhysicalPath()) self.plugin.addLocalRoles(path, {'HTTP_DUMMY_ATTR': 'eggs'}, [ 'Editor', ]) self.app.REQUEST.environ = {}
def afterSetUp(self): addShibbolethPermissions(self.portal)