{"issue":{"created_at":"2011-10-26T14:27:16Z","state":"closed","updated_at":"2011-11-21T16:41:05Z","user":{"gravatar_id":"7d3ec34377cbd3fc9d562077ce067a8b","id":133957,"url":"https://api.github.com/users/AndreCharbonneau","login":"AndreCharbonneau","avatar_url":"https://secure.gravatar.com/avatar/7d3ec34377cbd3fc9d562077ce067a8b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"According to the code (see below), I should be allowed to see a shared image metadata.  But that does not seem to be the case:\r\n\r\n    andre@arsenic:~/work/nep52webui$ repoman list --sharedwith\r\n    fransham/babar-base.2.0\r\n    andre@arsenic:~/work/nep52webui$ repoman describe-image fransham/babar-base.2.0\r\n    You lack the rights to access that object\r\n\r\n```\r\n    def show_meta_by_user(self, user, image, format='json'):\r\n        image_q = meta.Session.query(Image)\r\n        image = image_q.filter(Image.name==image)\\\r\n                       .filter(Image.owner.has(User.user_name==user))\\\r\n                       .first()\r\n\r\n        if image:\r\n            inline_auth(AnyOf(OwnsImage(image), SharedWith(image)), auth_403)\r\n            if format == 'json':\r\n                response.headers['content-type'] = app_globals.json_content_type\r\n                return h.render_json(beautify.image(image))\r\n            else:\r\n                abort(501, '501 Not Implemented')\r\n        else:\r\n            abort(404, '404 Not Found')\r\n```","assignee":{"gravatar_id":"7d3ec34377cbd3fc9d562077ce067a8b","id":133957,"url":"https://api.github.com/users/AndreCharbonneau","login":"AndreCharbonneau","avatar_url":"https://secure.gravatar.com/avatar/7d3ec34377cbd3fc9d562077ce067a8b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2057167,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":55,"labels":[],"title":"can't look at image's metadata even when shared","closed_at":"2011-11-21T16:41:05Z","html_url":"https://github.com/hep-gc/repoman/issues/55","url":"https://api.github.com/repos/hep-gc/repoman/issues/55","milestone":null},"action":"created","comment":{"created_at":"2011-11-21T16:41:05Z","updated_at":"2011-11-21T16:41:05Z","user":{"gravatar_id":"7d3ec34377cbd3fc9d562077ce067a8b","id":133957,"url":"https://api.github.com/users/AndreCharbonneau","login":"AndreCharbonneau","avatar_url":"https://secure.gravatar.com/avatar/7d3ec34377cbd3fc9d562077ce067a8b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Fix for this has been pushed to the dev branch.\r\nhttps://github.com/hep-gc/repoman/commit/507153fedcc053a77c2d47df4b5f2a3cdf423129","id":2817426,"url":"https://api.github.com/repos/hep-gc/repoman/issues/comments/2817426"}}