code: def remove_role(role):
      
      def processor(action, argument):
          ActionRoles.query_by_action(action, argument=argument).filter(
              ActionRoles.role_id == role.id
          ).delete(synchronize_session=False)
      return processor
docs: Remove a action for a role.