def index_shared_images(self, req, id):
        try:
            members = registry.get_member_images(req.context, id)
        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.HTTPForbidden(msg)
        return dict(shared_images=members)
Retrieves list of image memberships for the given member.
dataset/ETHPy150Open rcbops/glance-buildpackage/glance/api/v1/members.py/Controller.index_shared_images