def grant_all_permissions_to_principal(self, principal_id): ''' See the interface IPrincipalPermissionManager ''' for permission_id in get_all_permissions(None): self.grant_permission_to_principal(permission_id, principal_id, False)
def grant_all_permissions_to_principal(self, principal_id): ''' See the interface IPrincipalPermissionManager ''' for permission_id in get_all_permissions(None): self.grant_permission_to_principal(permission_id, principal_id, False)
def grant_all_permissions_to_role(self, role_id): for permission_id in get_all_permissions(None): self.grant_permission_to_role(permission_id, role_id, False)
def grant_all_permissions_to_role(self, role_id): for permission_id in get_all_permissions(None): self.grant_permission_to_role(permission_id, role_id, False)