)]}'
{"keystoneclient/access.py":[{"author":{"_account_id":11333,"name":"David J Hu","email":"david.hu@hpe.com","username":"dhu"},"change_message_id":"ff786bb81803e10c5026a91d8456e066183b59aa","unresolved":false,"context_lines":[{"line_number":381,"context_line":""},{"line_number":382,"context_line":"    @property"},{"line_number":383,"context_line":"    def role_ids(self):"},{"line_number":384,"context_line":"        return self.get(\u0027metadata\u0027, {}).get(\u0027roles\u0027, [])"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"    @property"},{"line_number":387,"context_line":"    def role_names(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_0ca2d1fb","line":384,"updated":"2014-06-18 19:04:25.000000000","message":"Should be return [r[\u0027id\u0027] for r in self.get(\u0027roles\u0027, [])]?","commit_id":"55cab29d293ece1777841ff500130a36f2f23117"},{"author":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"change_message_id":"4ebb1adeb908c80c14ba27aa89a46317db4b71d7","unresolved":false,"context_lines":[{"line_number":381,"context_line":""},{"line_number":382,"context_line":"    @property"},{"line_number":383,"context_line":"    def role_ids(self):"},{"line_number":384,"context_line":"        return self.get(\u0027metadata\u0027, {}).get(\u0027roles\u0027, [])"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"    @property"},{"line_number":387,"context_line":"    def role_names(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_f0c72f10","line":384,"in_reply_to":"1ae5cdf2_0ca2d1fb","updated":"2014-06-18 23:38:49.000000000","message":"Not according to http://developer.openstack.org/api-ref-identity-v2.html POST /tokens (sorry no anchors) and my own tests. \n\nIt\u0027s weird - i\u0027ve no idea why it was done this way.","commit_id":"55cab29d293ece1777841ff500130a36f2f23117"},{"author":{"_account_id":1916,"name":"Guang Yee","email":"gyee@suse.com","username":"guang-yee"},"change_message_id":"a37b38d9b1f2ac75b763bc7c690a322c705310c1","unresolved":false,"context_lines":[{"line_number":380,"context_line":"        return \u0027Default\u0027"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"    @property"},{"line_number":383,"context_line":"    def role_ids(self):"},{"line_number":384,"context_line":"        return self.get(\u0027metadata\u0027, {}).get(\u0027roles\u0027, [])"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_d84970b9","line":383,"updated":"2014-06-19 06:49:42.000000000","message":"Would be nice if we return list of role tuples [(id, name), (id, name)]. Or lookup_role_name_by_id() and lookup_role_id_by_name(). Not sure if any services utilizing the role IDs right now.","commit_id":"0aa9df3b76d85706c12320eaa199aa52eaafebb3"},{"author":{"_account_id":1916,"name":"Guang Yee","email":"gyee@suse.com","username":"guang-yee"},"change_message_id":"a1028d470b26c4524aec77b14474e3c356109f00","unresolved":false,"context_lines":[{"line_number":380,"context_line":"        return \u0027Default\u0027"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"    @property"},{"line_number":383,"context_line":"    def role_ids(self):"},{"line_number":384,"context_line":"        return self.get(\u0027metadata\u0027, {}).get(\u0027roles\u0027, [])"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_0f8c5a7f","line":383,"in_reply_to":"1ae5cdf2_1b63d21a","updated":"2014-06-19 17:25:04.000000000","message":"Ouch! Yeah, I forgot the came in two different attributes. Shucks!","commit_id":"0aa9df3b76d85706c12320eaa199aa52eaafebb3"},{"author":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"change_message_id":"074fb6cfc479c6c5d50bd5bcaa7b80cfc57c7901","unresolved":false,"context_lines":[{"line_number":380,"context_line":"        return \u0027Default\u0027"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"    @property"},{"line_number":383,"context_line":"    def role_ids(self):"},{"line_number":384,"context_line":"        return self.get(\u0027metadata\u0027, {}).get(\u0027roles\u0027, [])"},{"line_number":385,"context_line":""},{"line_number":386,"context_line":"    @property"}],"source_content_type":"text/x-python","patch_set":2,"id":"1ae5cdf2_1b63d21a","line":383,"in_reply_to":"1ae5cdf2_d84970b9","updated":"2014-06-19 07:22:48.000000000","message":"while that\u0027s *probably* the zip() of role_ids and role_names i can\u0027t be certain of that because in the v2 token they come through in different sections and there\u0027s nothing to guarantee they are in the same order.","commit_id":"0aa9df3b76d85706c12320eaa199aa52eaafebb3"}]}
