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 = {}
Esempio n. 2
0
 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 = {}
Esempio n. 3
0
 def afterSetUp(self):
     addShibbolethPermissions(self.portal)
 def afterSetUp(self):
     addShibbolethPermissions(self.portal)