)]}'
{"keystone/tests/unit/test_v3_federation.py":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"a68197fc8706caa90eb0c87820b3c7cc43172696","unresolved":false,"context_lines":[{"line_number":2152,"context_line":"            ]"},{"line_number":2153,"context_line":"        }"},{"line_number":2154,"context_line":"        self.federation_api.update_mapping(self.mapping[\u0027id\u0027], rules)"},{"line_number":2155,"context_line":"        r \u003d self._issue_unscoped_token(assertion\u003d\u0027USER_NO_GROUPS_ASSERTION\u0027)"},{"line_number":2156,"context_line":"        token \u003d r.headers.get(\u0027X-Subject-Token\u0027)"},{"line_number":2157,"context_line":""},{"line_number":2158,"context_line":"        # With the domain-scoped token, get the federation projects and it"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f201791_d419c821","line":2155,"updated":"2017-06-28 16:40:56.000000000","message":"According to the test name and comments, isn\u0027t this suppose to be a domain-scoped token?\n\nAlso - I think the assertion is causing the key error here. The assertion isn\u0027t providing any groups, which might mean that there won\u0027t be any groups supplied in the token.","commit_id":"f3a32ff8b616eb9dce2ef5c1bbb85c5bee865a45"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"a68197fc8706caa90eb0c87820b3c7cc43172696","unresolved":false,"context_lines":[{"line_number":2157,"context_line":""},{"line_number":2158,"context_line":"        # With the domain-scoped token, get the federation projects and it"},{"line_number":2159,"context_line":"        # should return correctly but now it will raise KeyError."},{"line_number":2160,"context_line":"        self.get(\u0027/OS-FEDERATION/projects\u0027, token\u003dtoken)"},{"line_number":2161,"context_line":""},{"line_number":2162,"context_line":"    def test_list_projects(self):"},{"line_number":2163,"context_line":"        urls \u003d (\u0027/OS-FEDERATION/projects\u0027, \u0027/auth/projects\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"5f201791_74c1d453","line":2160,"updated":"2017-06-28 16:40:56.000000000","message":"This API is deprecated in favor of /auth/projects/ \n\nhttps://developer.openstack.org/api-ref/identity/v3-ext/index.html?expanded\u003dlist-projects-a-federated-user-can-access-detail#os-federation-api","commit_id":"f3a32ff8b616eb9dce2ef5c1bbb85c5bee865a45"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"e12d163255664e8561b99c7bc03f181084f7badc","unresolved":false,"context_lines":[{"line_number":2122,"context_line":"        # NOTE(yangweiwei): Create an unscoped token without group, save its"},{"line_number":2123,"context_line":"        # Token ID, and request for federation projects with it."},{"line_number":2124,"context_line":"        user \u003d unit.new_user_ref(CONF.identity.default_domain_id)"},{"line_number":2125,"context_line":"        self.identity_api.create_user(user)"},{"line_number":2126,"context_line":"        rules \u003d {"},{"line_number":2127,"context_line":"            \u0027rules\u0027: ["},{"line_number":2128,"context_line":"                {"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff346bd7_e5f1c702","line":2125,"updated":"2017-07-28 15:48:06.000000000","message":"With federated identity - you shouldn\u0027t need to create the user before you authenticate. The SAML assertion should prove the identity of the user authenticating.","commit_id":"21b68f00b5341de17779e92a108676c9354db18d"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"e12d163255664e8561b99c7bc03f181084f7badc","unresolved":false,"context_lines":[{"line_number":2157,"context_line":""},{"line_number":2158,"context_line":"        # With the unscoped token, get the federation projects and it"},{"line_number":2159,"context_line":"        # should return correctly but now it will raise KeyError."},{"line_number":2160,"context_line":"        self.get(\u0027/OS-FEDERATION/projects\u0027, token\u003dtoken)"},{"line_number":2161,"context_line":""},{"line_number":2162,"context_line":"    def test_list_projects(self):"},{"line_number":2163,"context_line":"        urls \u003d (\u0027/OS-FEDERATION/projects\u0027, \u0027/auth/projects\u0027)"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff346bd7_8571db78","line":2160,"updated":"2017-07-28 15:48:06.000000000","message":"This doesn\u0027t fail when using /v3/auth/projects API.","commit_id":"21b68f00b5341de17779e92a108676c9354db18d"}]}
