def update_all(self, req, image_id, body):
        if req.context.read_only:
            raise webob.exc.HTTPForbidden()
        elif req.context.owner is None:
            raise webob.exc.HTTPUnauthorized(_("No authenticated user"))

        try:
            registry.replace_members(req.context, image_id, body)
        except exception.Invalid, e:
            msg = "%s" % e
            logger.debug(msg)
            raise webob.exc.HTTPBadRequest(explanation=msg)
        except exception.NotFound, e:
            msg = "%s" % e
            logger.debug(msg)
            raise webob.exc.HTTPNotFound(msg)
        except exception.NotAuthorized, e:
            msg = "%s" % e
            logger.debug(msg)
            raise webob.exc.HTTPNotFound(msg)

        return webob.exc.HTTPNoContent()
Replaces the members of the image with those specified in the
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/api/v1/members.py/Controller.update_all