def manage_permission(self, permission_to_manage, roles=[], acquire=0, REQUEST=None): """Change the settings for the given permission. If optional arg acquire is true, then the roles for the permission are acquired, in addition to the ones specified, otherwise the permissions are restricted to only the designated roles. """ BaseRoleManager.manage_permission( self, permission_to_manage, roles=roles, acquire=acquire) if REQUEST is not None: return self.manage_access(REQUEST)