)]}'
{"etc/gnocchi/policy.json":[{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"09a9efc4b40ee10d8cb7dace57736d82ac3b7548","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"post measures\":  [\"project_id:%(project_id)s\"]"},{"line_number":3,"context_line":"}"}],"source_content_type":"application/json","patch_set":2,"id":"5a890539_71765408","line":2,"updated":"2014-11-19 12:44:17.000000000","message":"Should our policy.json explicitly include support for allowing the admin role to post measures for any resource?\n\ne.g.\n\n  \"admin_or_owner\": \"is_admin:True or project_id:%(project_id)s\",\n  \"post measures\":  \"rule:admin_or_owner\",","commit_id":"3297f16d54513d916509402677f810b65d1801e1"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"03348cdf3a4280cb42f4d08206c43da8b72e7ac3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"post measures\":  [\"project_id:%(project_id)s\"]"},{"line_number":3,"context_line":"}"}],"source_content_type":"application/json","patch_set":2,"id":"5a890539_dfd0cbf9","line":2,"in_reply_to":"5a890539_71765408","updated":"2014-11-20 17:40:47.000000000","message":"Good question. Do we want admins to screw with any entities?\n\nI answered \"no\" to that question, but I can easily change my mind.","commit_id":"3297f16d54513d916509402677f810b65d1801e1"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"d2e9dc2b6cb148b28867fbb37492afb1f579df76","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"post measures\":  [\"project_id:%(project_id)s\"]"},{"line_number":3,"context_line":"}"}],"source_content_type":"application/json","patch_set":2,"id":"5a890539_8fc9957b","line":2,"in_reply_to":"5a890539_8baeee96","updated":"2014-11-20 21:50:16.000000000","message":"Agreed.","commit_id":"3297f16d54513d916509402677f810b65d1801e1"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"e7a3c2e56718bb943757970056c3a650f961d516","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"post measures\":  [\"project_id:%(project_id)s\"]"},{"line_number":3,"context_line":"}"}],"source_content_type":"application/json","patch_set":2,"id":"5a890539_f51cb56c","line":2,"in_reply_to":"5a890539_dfd0cbf9","updated":"2014-11-20 18:23:09.000000000","message":"Yeah, that seemed like a sane default to me ... but maybe we just want to allow admins visibility to all entities with a similar policy on get_measures?","commit_id":"3297f16d54513d916509402677f810b65d1801e1"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"82d304ce6071419df4f62c7e51b709c62b7773cc","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{"},{"line_number":2,"context_line":"    \"post measures\":  [\"project_id:%(project_id)s\"]"},{"line_number":3,"context_line":"}"}],"source_content_type":"application/json","patch_set":2,"id":"5a890539_8baeee96","line":2,"in_reply_to":"5a890539_f51cb56c","updated":"2014-11-20 19:28:29.000000000","message":"Yeah, I think it\u0027s ok for read, I\u0027m more fearful for write. Though that\u0027s a default config, it can be changed. Let\u0027s keep it that way for now and we\u0027ll see what are the usage?","commit_id":"3297f16d54513d916509402677f810b65d1801e1"}],"gnocchi/rest/__init__.py":[{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"09a9efc4b40ee10d8cb7dace57736d82ac3b7548","unresolved":false,"context_lines":[{"line_number":43,"context_line":"def enforce(rule, target):"},{"line_number":44,"context_line":"    \"\"\"Return the user and project the request should be limited to."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    :param headers: HTTP headers dictionary"},{"line_number":47,"context_line":"    :return: A tuple of (user, project), set to None if there\u0027s no limit on"},{"line_number":48,"context_line":"    one of these."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_51d798bf","line":46,"updated":"2014-11-19 12:44:17.000000000","message":"headers not passed as a param","commit_id":"3297f16d54513d916509402677f810b65d1801e1"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"03348cdf3a4280cb42f4d08206c43da8b72e7ac3","unresolved":false,"context_lines":[{"line_number":43,"context_line":"def enforce(rule, target):"},{"line_number":44,"context_line":"    \"\"\"Return the user and project the request should be limited to."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    :param headers: HTTP headers dictionary"},{"line_number":47,"context_line":"    :return: A tuple of (user, project), set to None if there\u0027s no limit on"},{"line_number":48,"context_line":"    one of these."},{"line_number":49,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_3fd62ff2","line":46,"in_reply_to":"5a890539_51d798bf","updated":"2014-11-20 17:40:47.000000000","message":"COPY PASTE FAILURE","commit_id":"3297f16d54513d916509402677f810b65d1801e1"},{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"09a9efc4b40ee10d8cb7dace57736d82ac3b7548","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    :param headers: HTTP headers dictionary"},{"line_number":47,"context_line":"    :return: A tuple of (user, project), set to None if there\u0027s no limit on"},{"line_number":48,"context_line":"    one of these."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    \"\"\""},{"line_number":51,"context_line":"    global _ENFORCER"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_f19ec406","line":48,"updated":"2014-11-19 12:44:17.000000000","message":"similarly copy\u0027n\u0027paste of return doc string","commit_id":"3297f16d54513d916509402677f810b65d1801e1"},{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"03348cdf3a4280cb42f4d08206c43da8b72e7ac3","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    :param headers: HTTP headers dictionary"},{"line_number":47,"context_line":"    :return: A tuple of (user, project), set to None if there\u0027s no limit on"},{"line_number":48,"context_line":"    one of these."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    \"\"\""},{"line_number":51,"context_line":"    global _ENFORCER"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a890539_3f129cb4","line":48,"in_reply_to":"5a890539_f19ec406","updated":"2014-11-20 17:40:47.000000000","message":"bouh bouh shame","commit_id":"3297f16d54513d916509402677f810b65d1801e1"}]}
