)]}'
{"id":"openstack%2Fdjango_openstack_auth~389337","triplet_id":"openstack%2Fdjango_openstack_auth~master~I151218ff28c0728898ed5315d63dd8122ce3b166","project":"openstack/django_openstack_auth","branch":"master","topic":"domain_only_scope","hashtags":[],"change_id":"I151218ff28c0728898ed5315d63dd8122ce3b166","subject":"Allow federated users to auth with domain scope","status":"MERGED","created":"2016-10-20 20:14:54.000000000","updated":"2017-01-27 16:19:26.000000000","submitted":"2017-01-27 16:19:26.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":16,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"ff16a6f9f5eeda307ee6dff4944a9c9171c88b92","_number":389337,"virtual_id_number":389337,"owner":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":0,"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},{"value":0,"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},{"value":2,"date":"2017-01-27 16:19:26.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},{"value":0,"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},{"value":0,"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},{"value":0,"_account_id":21511,"name":"yuhui","email":"yuhui@inspur.com","username":"yuhui_inspur"},{"value":0,"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},{"value":0,"_account_id":23310,"name":"wanghongtaozz","email":"wanghongtaozz@inspur.com","username":"wanghongtaozz"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"all":[{"value":0,"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},{"value":0,"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},{"value":2,"date":"2017-01-25 18:44:35.000000000","_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},{"value":0,"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},{"value":0,"_account_id":21511,"name":"yuhui","email":"yuhui@inspur.com","username":"yuhui_inspur"},{"value":2,"date":"2017-01-27 15:20:14.000000000","_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},{"value":0,"_account_id":23310,"name":"wanghongtaozz","email":"wanghongtaozz@inspur.com","username":"wanghongtaozz"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"all":[{"value":0,"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},{"value":0,"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},{"value":0,"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},{"value":0,"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},{"value":0,"_account_id":21511,"name":"yuhui","email":"yuhui@inspur.com","username":"yuhui_inspur"},{"value":1,"date":"2017-01-27 15:20:14.000000000","_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},{"value":0,"_account_id":23310,"name":"wanghongtaozz","email":"wanghongtaozz@inspur.com","username":"wanghongtaozz"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},{"_account_id":21511,"name":"yuhui","email":"yuhui@inspur.com","username":"yuhui_inspur"},{"_account_id":23310,"name":"wanghongtaozz","email":"wanghongtaozz@inspur.com","username":"wanghongtaozz"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-11-04 01:59:26.000000000","updated_by":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"reviewer":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"state":"REVIEWER"},{"updated":"2017-01-02 23:32:30.000000000","updated_by":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"reviewer":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"state":"REVIEWER"},{"updated":"2017-01-03 00:29:36.000000000","updated_by":{"_account_id":23310,"name":"wanghongtaozz","email":"wanghongtaozz@inspur.com","username":"wanghongtaozz"},"reviewer":{"_account_id":23310,"name":"wanghongtaozz","email":"wanghongtaozz@inspur.com","username":"wanghongtaozz"},"state":"REVIEWER"},{"updated":"2017-01-03 01:17:21.000000000","updated_by":{"_account_id":21511,"name":"yuhui","email":"yuhui@inspur.com","username":"yuhui_inspur"},"reviewer":{"_account_id":21511,"name":"yuhui","email":"yuhui@inspur.com","username":"yuhui_inspur"},"state":"REVIEWER"},{"updated":"2017-01-20 19:34:24.000000000","updated_by":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"reviewer":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"state":"REVIEWER"},{"updated":"2017-01-25 18:44:35.000000000","updated_by":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"reviewer":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"state":"REVIEWER"},{"updated":"2017-01-27 15:20:14.000000000","updated_by":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"reviewer":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"state":"REVIEWER"},{"updated":"2017-01-27 16:19:26.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"fa966c10377062e21da6c37845a615734e621bf1","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-10-20 20:14:54.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"97f16a75f9085a028ca627dd486fbe0041bc9481","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-10-20 21:01:36.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-django_openstack_auth-docs-ubuntu-xenial http://docs-draft.openstack.org/37/389337/1/check/gate-django_openstack_auth-docs-ubuntu-xenial/9fce72e//doc/build/html/ : SUCCESS in 1m 41s\n- gate-django_openstack_auth-pep8-ubuntu-xenial http://logs.openstack.org/37/389337/1/check/gate-django_openstack_auth-pep8-ubuntu-xenial/67a52e3/ : FAILURE in 1m 40s\n- gate-django_openstack_auth-python27-ubuntu-xenial http://logs.openstack.org/37/389337/1/check/gate-django_openstack_auth-python27-ubuntu-xenial/0545846/ : SUCCESS in 1m 40s\n- gate-django_openstack_auth-python34 http://logs.openstack.org/37/389337/1/check/gate-django_openstack_auth-python34/ea06a1b/ : SUCCESS in 1m 50s\n- gate-django_openstack_auth-python35-nv http://logs.openstack.org/37/389337/1/check/gate-django_openstack_auth-python35-nv/d91c9dd/ : SUCCESS in 1m 51s (non-voting)\n- gate-tempest-dsvm-neutron-src-django_openstack_auth http://logs.openstack.org/37/389337/1/check/gate-tempest-dsvm-neutron-src-django_openstack_auth/582dfac/ : SUCCESS in 46m 24s\n- gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial http://logs.openstack.org/37/389337/1/check/gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial/8618ae3/ : SUCCESS in 2m 20s\n- gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial http://logs.openstack.org/37/389337/1/check/gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial/d07e9b8/ : SUCCESS in 1m 46s\n- gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial http://logs.openstack.org/37/389337/1/check/gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial/490fc9b/ : SUCCESS in 2m 34s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"dd6af8dfa45aab2b177819a602a0a6a3c691f75e","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-10-21 10:06:30.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"4c1f97aca4566320a7e939be17195982f059dee6","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-10-21 10:47:07.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-django_openstack_auth-docs-ubuntu-xenial http://docs-draft.openstack.org/37/389337/2/check/gate-django_openstack_auth-docs-ubuntu-xenial/346a776//doc/build/html/ : SUCCESS in 2m 08s\n- gate-django_openstack_auth-pep8-ubuntu-xenial http://logs.openstack.org/37/389337/2/check/gate-django_openstack_auth-pep8-ubuntu-xenial/89227aa/ : SUCCESS in 1m 42s\n- gate-django_openstack_auth-python27-ubuntu-xenial http://logs.openstack.org/37/389337/2/check/gate-django_openstack_auth-python27-ubuntu-xenial/c58e029/ : SUCCESS in 1m 39s\n- gate-django_openstack_auth-python34 http://logs.openstack.org/37/389337/2/check/gate-django_openstack_auth-python34/6708c77/ : SUCCESS in 1m 39s\n- gate-django_openstack_auth-python35-nv http://logs.openstack.org/37/389337/2/check/gate-django_openstack_auth-python35-nv/dbccfb7/ : SUCCESS in 1m 36s (non-voting)\n- gate-tempest-dsvm-neutron-src-django_openstack_auth http://logs.openstack.org/37/389337/2/check/gate-tempest-dsvm-neutron-src-django_openstack_auth/b161c18/ : SUCCESS in 40m 26s\n- gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial http://logs.openstack.org/37/389337/2/check/gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial/4fc3310/ : SUCCESS in 1m 50s\n- gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial http://logs.openstack.org/37/389337/2/check/gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial/4c48cde/ : SUCCESS in 1m 44s\n- gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial http://logs.openstack.org/37/389337/2/check/gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial/1440227/ : SUCCESS in 1m 43s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"7dc1ad043a610cdfa630b09c92139bad0745ea58","author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"date":"2016-10-21 20:18:51.000000000","message":"Patch Set 2: Code-Review-1\n\n(3 comments)\n\nI have concerns that this will be auth for non-federated users on v3. See comments inline.","accounts_in_message":[],"_revision_number":2},{"id":"18862f88e0c0347e1f54a066fcda3eb19d67f06a","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-11-02 11:32:14.000000000","message":"Patch Set 2:\n\n(3 comments)","accounts_in_message":[],"_revision_number":2},{"id":"5b576abf59ccbb2abe0caf0fd62d9e908a618537","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-11-03 19:56:13.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"3be8775430fe44321d4533944971e69c96c9acf0","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-11-03 20:39:48.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-django_openstack_auth-docs-ubuntu-xenial http://docs-draft.openstack.org/37/389337/3/check/gate-django_openstack_auth-docs-ubuntu-xenial/82cfae4//doc/build/html/ : SUCCESS in 2m 26s\n- gate-django_openstack_auth-pep8-ubuntu-xenial http://logs.openstack.org/37/389337/3/check/gate-django_openstack_auth-pep8-ubuntu-xenial/5710eca/ : SUCCESS in 1m 49s\n- gate-django_openstack_auth-python27-ubuntu-xenial http://logs.openstack.org/37/389337/3/check/gate-django_openstack_auth-python27-ubuntu-xenial/572fb9f/ : SUCCESS in 3m 07s\n- gate-django_openstack_auth-python34 http://logs.openstack.org/37/389337/3/check/gate-django_openstack_auth-python34/77ed9c2/ : SUCCESS in 1m 45s\n- gate-django_openstack_auth-python35-nv http://logs.openstack.org/37/389337/3/check/gate-django_openstack_auth-python35-nv/954f710/ : SUCCESS in 1m 49s (non-voting)\n- gate-tempest-dsvm-neutron-src-django_openstack_auth http://logs.openstack.org/37/389337/3/check/gate-tempest-dsvm-neutron-src-django_openstack_auth/3a84ff0/ : SUCCESS in 43m 15s\n- gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial http://logs.openstack.org/37/389337/3/check/gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial/f5f1627/ : SUCCESS in 1m 48s\n- gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial http://logs.openstack.org/37/389337/3/check/gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial/dc8ad43/ : SUCCESS in 4m 09s\n- gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial http://logs.openstack.org/37/389337/3/check/gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial/1c79d60/ : SUCCESS in 3m 51s","accounts_in_message":[],"_revision_number":3},{"id":"eac93fb7a0a7eb4d9272d7e34b7a74e885235a03","author":{"_account_id":17172,"name":"Kenji Ishii","email":"ken-ishii@sx.jp.nec.com","username":"kenji-ishii"},"date":"2016-11-04 01:59:26.000000000","message":"Patch Set 3:\n\nHi!, I have a question. Whenever a federated user logs in, an attribute \"user_domain_name\" is empty?\nI have thought that it\u0027s up to a setting for keystone federation mappings. Is my understanding wrong?\nThanks.","accounts_in_message":[],"_revision_number":3},{"id":"b5a12bef2d253806829e62c88b47f26ff162a9ee","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-11-04 08:37:49.000000000","message":"Patch Set 3:\n\nYes, when a federated user logs in it first gets an unscoped token and presents openstack_auth with just the token and no other scoping specifiers. It\u0027s then up to openstack_auth to look up the mapping and then use the unscoped token to get a scoped token for a domain or project found in the mapping. The process is documented here: http://docs.openstack.org/developer/keystone/federation/configure_federation.html#performing-federated-authentication","accounts_in_message":[],"_revision_number":3},{"id":"81fb951fac51d7aaa9c11452eed7ac3d6f169d4f","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-11-28 11:53:18.000000000","message":"Uploaded patch set 4: Commit message was updated.","accounts_in_message":[],"_revision_number":4},{"id":"ff6d0beb8f64acd089d32e8b78ccfa92a94cdf31","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-11-28 12:55:07.000000000","message":"Patch Set 4: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-django_openstack_auth-docs-ubuntu-xenial http://docs-draft.openstack.org/37/389337/4/check/gate-django_openstack_auth-docs-ubuntu-xenial/74803da//doc/build/html/ : SUCCESS in 2m 00s\n- gate-django_openstack_auth-pep8-ubuntu-xenial http://logs.openstack.org/37/389337/4/check/gate-django_openstack_auth-pep8-ubuntu-xenial/60da3dc/ : SUCCESS in 2m 09s\n- gate-django_openstack_auth-python27-ubuntu-xenial http://logs.openstack.org/37/389337/4/check/gate-django_openstack_auth-python27-ubuntu-xenial/25f5046/ : SUCCESS in 1m 58s\n- gate-django_openstack_auth-python34 http://logs.openstack.org/37/389337/4/check/gate-django_openstack_auth-python34/d150b46/ : SUCCESS in 3m 15s\n- gate-django_openstack_auth-python35-nv http://logs.openstack.org/37/389337/4/check/gate-django_openstack_auth-python35-nv/edc6a53/ : SUCCESS in 3m 53s (non-voting)\n- gate-tempest-dsvm-neutron-src-django_openstack_auth http://logs.openstack.org/37/389337/4/check/gate-tempest-dsvm-neutron-src-django_openstack_auth/0a838e0/ : SUCCESS in 1h 01m 21s\n- gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial http://logs.openstack.org/37/389337/4/check/gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial/b4864a5/ : SUCCESS in 6m 17s\n- gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial http://logs.openstack.org/37/389337/4/check/gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial/c70a475/ : SUCCESS in 3m 10s\n- gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial http://logs.openstack.org/37/389337/4/check/gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial/0875864/ : SUCCESS in 2m 52s","accounts_in_message":[],"_revision_number":4},{"id":"bb64ac501932faaa22c193e36f25b334073929bb","author":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"date":"2016-12-01 20:19:44.000000000","message":"Patch Set 4: Code-Review-1\n\n(2 comments)","accounts_in_message":[],"_revision_number":4},{"id":"cc5f61718967a279bd1b7735acf330662802d0f9","author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"date":"2016-12-01 20:20:13.000000000","message":"Patch Set 4: Code-Review-1\n\n(2 comments)","accounts_in_message":[],"_revision_number":4},{"id":"3d0eb5416f000dcbe61ca53802385a89048ce44f","author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"date":"2016-12-04 19:02:19.000000000","message":"Patch Set 4:\n\nIIRC the outcome of the keystone-horizon meeting was that we should have a domain drop down menu that allows a user to switch through possible domains. This should solve the federated and non-federated use case.","accounts_in_message":[],"_revision_number":4},{"id":"dd55a088c2dcc5cdace2839c9bb26cf9e544b2a2","author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"date":"2016-12-05 00:18:25.000000000","message":"Patch Set 4:\n\nThere was also a request that a bug be created for tracking purposes","accounts_in_message":[],"_revision_number":4},{"id":"b545f6c8c264b1d1617740121bdf9a3da8810de3","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-12-11 16:00:31.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"db68b60a650cfd46cf3136c46a933ca614260c5b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-12-11 16:51:10.000000000","message":"Patch Set 5: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-django_openstack_auth-docs-ubuntu-xenial http://docs-draft.openstack.org/37/389337/5/check/gate-django_openstack_auth-docs-ubuntu-xenial/41503cd//doc/build/html/ : SUCCESS in 1m 38s\n- gate-django_openstack_auth-pep8-ubuntu-xenial http://logs.openstack.org/37/389337/5/check/gate-django_openstack_auth-pep8-ubuntu-xenial/ae3de50/ : SUCCESS in 3m 27s\n- gate-django_openstack_auth-python27-ubuntu-xenial http://logs.openstack.org/37/389337/5/check/gate-django_openstack_auth-python27-ubuntu-xenial/5d86dc9/ : SUCCESS in 3m 02s\n- gate-django_openstack_auth-python34 http://logs.openstack.org/37/389337/5/check/gate-django_openstack_auth-python34/7e22ae9/ : SUCCESS in 2m 55s\n- gate-django_openstack_auth-python35-nv http://logs.openstack.org/37/389337/5/check/gate-django_openstack_auth-python35-nv/5fda329/ : SUCCESS in 1m 36s (non-voting)\n- gate-tempest-dsvm-neutron-src-django_openstack_auth-ubuntu-xenial http://logs.openstack.org/37/389337/5/check/gate-tempest-dsvm-neutron-src-django_openstack_auth-ubuntu-xenial/51a54d9/ : SUCCESS in 50m 27s\n- gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial http://logs.openstack.org/37/389337/5/check/gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial/09f080b/ : SUCCESS in 3m 07s\n- gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial http://logs.openstack.org/37/389337/5/check/gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial/583f366/ : SUCCESS in 2m 12s\n- gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial http://logs.openstack.org/37/389337/5/check/gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial/a8381c5/ : SUCCESS in 1m 44s","accounts_in_message":[],"_revision_number":5},{"id":"0f4246ea15d4210e172100ee9a30a932f411d5a7","author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"date":"2016-12-15 20:09:38.000000000","message":"Patch Set 5: Code-Review+1\n\nthanks!","accounts_in_message":[],"_revision_number":5},{"id":"2746059d0930fc72304b548210ef0352e85e9c9f","author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"date":"2016-12-15 21:39:05.000000000","message":"Patch Set 5: Code-Review-1\n\nok, so the important part of the domain dropdown is being able to switch, so while this provides the list, it provides no way to switch between them. I see this as another chance to closely imitate some existing code. Look at the switch tenant code in urls.py and views.py. The mechanism basically provides a URL to pass a parameter to for switching the active domain. Then once we have this patch in, the dropdown side in horizon can make a request to that URL with the param so we aren\u0027t stuck in the first domain.\n\nI still need to walk through the backend.py code a bit more, but wanted to provide this feedback sooner than later.","accounts_in_message":[],"_revision_number":5},{"id":"f91b0f58d344849971bffebfb9cb7e065937bfc1","author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"date":"2016-12-15 23:02:10.000000000","message":"Patch Set 5: -Code-Review\n\nok. The more I look at this. Let\u0027s drop the dropdown from the scope of this patch. Let\u0027s get auth working for federation domain users and move the rest to another patch. The scope is going to grow with my previous feedback. Let\u0027s concentrate on the bug. The cross-domain role assignment part isn\u0027t really supported in Horizon as is and should be a blueprint to do properly.","accounts_in_message":[],"_revision_number":5},{"id":"6e1795b7193c245f6a43b33be18b9ad15dde4988","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-12-16 21:58:35.000000000","message":"Patch Set 5:\n\nIn that case I\u0027m not sure what the best way forward is. Since a federated user could be part of more than one domain I\u0027m not sure the best way to resolve this bug without exposing the domains to the user. Maybe this bugfix should come subsequent to a patch that allows a drop-down menu?","accounts_in_message":[],"_revision_number":5},{"id":"195e7f620bfb421cc88afb3b877fb159010c094a","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-12-20 21:19:25.000000000","message":"Patch Set 5:\n\n(1 comment)","accounts_in_message":[],"_revision_number":5},{"id":"f24c14ddb39eed77539c8c821000572cc3283f1e","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2016-12-21 22:35:33.000000000","message":"Patch Set 5:\n\n(1 comment)\n\nAfter digging some more I have a little more perspective on how big the cross-domain role assignment issue is and I agree it\u0027s too much for this patch. What if we go back to not having a dropdown and if the federated user has a role in more than one domain, log a warning, but still scope to the first?","accounts_in_message":[],"_revision_number":5},{"id":"d38b2c95939b7f6976201b22f529c171d0fcafe7","author":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"date":"2017-01-02 23:32:30.000000000","message":"Patch Set 5: Code-Review+1\n\n+1 for the keystone interaction looking good.","accounts_in_message":[],"_revision_number":5},{"id":"fbd1e33d4e8b9c3cac2e4cacf995d27a559953b0","author":{"_account_id":23310,"name":"wanghongtaozz","email":"wanghongtaozz@inspur.com","username":"wanghongtaozz"},"date":"2017-01-03 00:29:36.000000000","message":"Patch Set 5: Code-Review+1","accounts_in_message":[],"_revision_number":5},{"id":"ebb72e5cfeedd8454037d7ac94820541b1fd686d","author":{"_account_id":21511,"name":"yuhui","email":"yuhui@inspur.com","username":"yuhui_inspur"},"date":"2017-01-03 01:17:21.000000000","message":"Patch Set 5: Code-Review+1","accounts_in_message":[],"_revision_number":5},{"id":"f9d9d586c74f9fb330420d5e199aa3a6a940be99","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2017-01-03 13:14:49.000000000","message":"Patch Set 5: Workflow-1\n\nThis isn\u0027t ready, I need to address David\u0027s comments and reduce the scope of this patch","accounts_in_message":[],"_revision_number":5},{"id":"f194bd0081d69864ff7757de249f427be87bf464","author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"date":"2017-01-03 17:30:47.000000000","message":"Patch Set 5: Code-Review-1\n\nColleen, I personally think that\u0027s best. we can hit the 90% use case and be better off than today with this patch, and work to support cross-domain role assignments in horizon as a hole in follow on work. But that is likely a Pike timeframe item.","accounts_in_message":[],"_revision_number":5},{"id":"588b2713810fa47d87639fdff8c067350501b11b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-01-13 02:44:26.000000000","message":"Patch Set 5: Verified-1\n\nMerge Failed.\n\nThis change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.","accounts_in_message":[],"_revision_number":5},{"id":"a59f8db3789f0b8fbfb46350d8bec55bb3b05132","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2017-01-20 18:12:02.000000000","message":"Uploaded patch set 6.","accounts_in_message":[],"_revision_number":6},{"id":"b796ae025016d29a475ec2e1689444b21d930592","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2017-01-20 18:46:12.000000000","message":"Patch Set 6:\n\nReverted to ps4, worked out conflicts from I75b1a10a3b40b5544b60f6fdc060e0070c585977 and I3aa026364443220c9b3fa38ec306fed4d9e878cc, and added a warning notice.","accounts_in_message":[],"_revision_number":6},{"id":"22e806e3129fc4f7d0a3d753acc9e2910246a28c","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-01-20 19:20:43.000000000","message":"Patch Set 6: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-django_openstack_auth-docs-ubuntu-xenial http://docs-draft.openstack.org/37/389337/6/check/gate-django_openstack_auth-docs-ubuntu-xenial/4f1ddc6//doc/build/html/ : SUCCESS in 2m 38s\n- gate-django_openstack_auth-pep8-ubuntu-xenial http://logs.openstack.org/37/389337/6/check/gate-django_openstack_auth-pep8-ubuntu-xenial/f98d8fd/ : SUCCESS in 4m 25s\n- gate-django_openstack_auth-python27-ubuntu-xenial http://logs.openstack.org/37/389337/6/check/gate-django_openstack_auth-python27-ubuntu-xenial/ecd95ef/ : SUCCESS in 4m 53s\n- gate-django_openstack_auth-python35 http://logs.openstack.org/37/389337/6/check/gate-django_openstack_auth-python35/8e3568c/ : SUCCESS in 4m 24s\n- gate-tempest-dsvm-neutron-src-django_openstack_auth-ubuntu-xenial http://logs.openstack.org/37/389337/6/check/gate-tempest-dsvm-neutron-src-django_openstack_auth-ubuntu-xenial/59cdcbf/ : SUCCESS in 1h 03m 32s\n- gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial http://logs.openstack.org/37/389337/6/check/gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial/171c39b/ : SUCCESS in 2m 50s\n- gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial http://logs.openstack.org/37/389337/6/check/gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial/21da0d2/ : SUCCESS in 5m 43s\n- gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial http://logs.openstack.org/37/389337/6/check/gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial/ab1c65b/ : SUCCESS in 4m 42s","accounts_in_message":[],"_revision_number":6},{"id":"c5d6c0b8f827878770e5a0a9570fd3e0415aa979","author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"date":"2017-01-20 19:34:24.000000000","message":"Patch Set 6: Code-Review+1\n\nmakes sense to me","accounts_in_message":[],"_revision_number":6},{"id":"1dbd949a412801c710fdddec59ecbc0ada36ec9f","author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"date":"2017-01-25 18:22:22.000000000","message":"Patch Set 6: Code-Review+2\n\n(1 comment)\n\nThe code looks good to go. I think one log message is misclassified, but that\u0027s a nit. I won\u0027t block on that. A bug id would be nice too, but ...","accounts_in_message":[],"_revision_number":6},{"id":"5371d1ed5cd25a091e2d2f308294b511ca717691","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2017-01-25 18:43:20.000000000","message":"Uploaded patch set 7.","accounts_in_message":[],"_revision_number":7},{"id":"6ce299170f25aa83ff7d80d40da6ac7795ac7136","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2017-01-25 18:43:56.000000000","message":"Patch Set 7:\n\nWoops, the bug reference got dropped in the last patchset.","accounts_in_message":[],"_revision_number":7},{"id":"53b9759494f9713e3d19e4f0cd4b822156dae3d9","author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"date":"2017-01-25 18:44:35.000000000","message":"Patch Set 7: Code-Review+2\n\nThanks for the  update!","accounts_in_message":[],"_revision_number":7},{"id":"6afeb7d118f5f059d860cad184f9ef1273ba40fc","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-01-25 20:02:45.000000000","message":"Patch Set 7: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-django_openstack_auth-docs-ubuntu-xenial http://docs-draft.openstack.org/37/389337/7/check/gate-django_openstack_auth-docs-ubuntu-xenial/99f01ad//doc/build/html/ : SUCCESS in 12m 23s\n- gate-django_openstack_auth-pep8-ubuntu-xenial http://logs.openstack.org/37/389337/7/check/gate-django_openstack_auth-pep8-ubuntu-xenial/b5c2be2/ : SUCCESS in 8m 50s\n- gate-django_openstack_auth-python27-ubuntu-xenial http://logs.openstack.org/37/389337/7/check/gate-django_openstack_auth-python27-ubuntu-xenial/a3b1673/ : SUCCESS in 7m 41s\n- gate-django_openstack_auth-python35 http://logs.openstack.org/37/389337/7/check/gate-django_openstack_auth-python35/5e4264c/ : SUCCESS in 8m 13s\n- gate-tempest-dsvm-neutron-src-django_openstack_auth-ubuntu-xenial http://logs.openstack.org/37/389337/7/check/gate-tempest-dsvm-neutron-src-django_openstack_auth-ubuntu-xenial/1aa71cc/ : SUCCESS in 1h 01m 55s\n- gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial http://logs.openstack.org/37/389337/7/check/gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial/d939d71/ : SUCCESS in 6m 36s\n- gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial http://logs.openstack.org/37/389337/7/check/gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial/6544188/ : SUCCESS in 4m 57s\n- gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial http://logs.openstack.org/37/389337/7/check/gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial/e731807/ : SUCCESS in 6m 42s","accounts_in_message":[],"_revision_number":7},{"id":"bc7dbc202c7ba81b44bf05ce31ce9fb0ddd192b8","author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"date":"2017-01-27 09:35:28.000000000","message":"Patch Set 7: Code-Review-1\n\n(1 comment)\n\nSorry for the late nit, just a part of the code I didn\u0027t quite understand.","accounts_in_message":[],"_revision_number":7},{"id":"62dfe210a664716eb9d167b4ffdd09479a4d1e8a","author":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"date":"2017-01-27 11:33:16.000000000","message":"Patch Set 7:\n\n(1 comment)","accounts_in_message":[],"_revision_number":7},{"id":"a86371094fdcd3a7e5ee555677cca8a64a213186","author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"date":"2017-01-27 15:20:14.000000000","message":"Patch Set 7: Code-Review+2 Workflow+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":7},{"id":"46c673be40b02eae69ec298d147a7d2b9d98987c","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-01-27 15:20:29.000000000","message":"Patch Set 7: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":7},{"id":"c00da939ee0f114f4f09ce7fd6d55cd85e94bf25","date":"2017-01-27 16:19:26.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":7},{"id":"f5f102bd1b7108b9a48fdcf630c56cdc38b6d6b8","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2017-01-27 16:19:26.000000000","message":"Patch Set 7: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-django_openstack_auth-docs-ubuntu-xenial http://docs-draft.openstack.org/37/389337/7/gate/gate-django_openstack_auth-docs-ubuntu-xenial/e0c4426//doc/build/html/ : SUCCESS in 2m 42s\n- gate-django_openstack_auth-pep8-ubuntu-xenial http://logs.openstack.org/37/389337/7/gate/gate-django_openstack_auth-pep8-ubuntu-xenial/8e9040f/ : SUCCESS in 3m 05s\n- gate-django_openstack_auth-python27-ubuntu-xenial http://logs.openstack.org/37/389337/7/gate/gate-django_openstack_auth-python27-ubuntu-xenial/4c5a65b/ : SUCCESS in 3m 00s\n- gate-django_openstack_auth-python35 http://logs.openstack.org/37/389337/7/gate/gate-django_openstack_auth-python35/6669f2a/ : SUCCESS in 3m 25s\n- gate-tempest-dsvm-neutron-src-django_openstack_auth-ubuntu-xenial http://logs.openstack.org/37/389337/7/gate/gate-tempest-dsvm-neutron-src-django_openstack_auth-ubuntu-xenial/47b6f46/ : SUCCESS in 58m 46s\n- gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial http://logs.openstack.org/37/389337/7/gate/gate-django_openstack_auth-tox-py27dj18-ubuntu-xenial/36bc139/ : SUCCESS in 2m 35s\n- gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial http://logs.openstack.org/37/389337/7/gate/gate-django_openstack_auth-tox-py27dj19-ubuntu-xenial/df94e3c/ : SUCCESS in 3m 24s\n- gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial http://logs.openstack.org/37/389337/7/gate/gate-django_openstack_auth-tox-py27dj110-ubuntu-xenial/1b72274/ : SUCCESS in 2m 58s","accounts_in_message":[],"_revision_number":7}],"current_revision_number":7,"current_revision":"ca3166707b2b8d121d4bf75dcea32ddfd3a442f1","revisions":{"a99dfaf8e8835fcc65cc6f6c5cc6fcebe91c24fd":{"kind":"REWORK","_number":1,"created":"2016-10-20 20:14:54.000000000","uploader":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"ref":"refs/changes/37/389337/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/django_openstack_auth","ref":"refs/changes/37/389337/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/1"}}},"commit":{"parents":[{"commit":"8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729"}]}],"author":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-20 19:59:55.000000000","tz":120},"committer":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-20 20:14:51.000000000","tz":120},"subject":"Allow federated users to auth with domain scope","message":"Allow federated users to auth with domain scope\n\nWhen a federated user logs in, openstack_auth receives an unscoped\ntoken and no user_domain_name parameter. Currently, if the federated\nuser has a role in one or more domains, but no roles in any projects,\nopenstack_auth prevents authorization and deny the user\u0027s login with\nthe error \"You are not authorized for any projects or domains.\" This is\na problem because a keystone administrator may want to give federated\nusers to a domain without any projects in it, for example so delegate\nthe creation of projects to the federated users themselves. This patch\nallows federated users without project roles to log in by looking up\ndomains as well as projects when attempting to scope the token. This\nlookup is skipped if the domain was passed as part of the request.\n\nThis patch also slightly restructures the OpenStackAuthTestsWebSSO\ntests because mox needed the plugin to only be called once during\nauthentication, so the plugin object needed to be available to both\n_mock_unscoped_client_list_domains() and\n_mock_unscoped_client_list_projects().\n\nChange-Id: I151218ff28c0728898ed5315d63dd8122ce3b166\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/a99dfaf8e8835fcc65cc6f6c5cc6fcebe91c24fd"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/a99dfaf8e8835fcc65cc6f6c5cc6fcebe91c24fd"}]},"branch":"refs/heads/master"},"eeda3d73b657b7b9893d64284db66d0e758f8929":{"kind":"REWORK","_number":2,"created":"2016-10-21 10:06:30.000000000","uploader":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"ref":"refs/changes/37/389337/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/django_openstack_auth","ref":"refs/changes/37/389337/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/2"}}},"commit":{"parents":[{"commit":"8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729"}]}],"author":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-20 19:59:55.000000000","tz":120},"committer":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-21 10:06:19.000000000","tz":120},"subject":"Allow federated users to auth with domain scope","message":"Allow federated users to auth with domain scope\n\nWhen a federated user logs in, openstack_auth receives an unscoped\ntoken and no user_domain_name parameter. Currently, if the federated\nuser has a role in one or more domains, but no roles in any projects,\nopenstack_auth prevents authorization and deny the user\u0027s login with\nthe error \"You are not authorized for any projects or domains.\" This is\na problem because a keystone administrator may want to give federated\nusers to a domain without any projects in it, for example so delegate\nthe creation of projects to the federated users themselves. This patch\nallows federated users without project roles to log in by looking up\ndomains as well as projects when attempting to scope the token. This\nlookup is skipped if the domain was passed as part of the request.\n\nThis patch also slightly restructures the OpenStackAuthTestsWebSSO\ntests because mox needed the plugin to only be called once during\nauthentication, so the plugin object needed to be available to both\n_mock_unscoped_client_list_domains() and\n_mock_unscoped_client_list_projects().\n\nChange-Id: I151218ff28c0728898ed5315d63dd8122ce3b166\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/eeda3d73b657b7b9893d64284db66d0e758f8929"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/eeda3d73b657b7b9893d64284db66d0e758f8929"}]},"branch":"refs/heads/master"},"42fd5c8acfdfa5a20f75a71403aa819fa9ddb0b1":{"kind":"REWORK","_number":3,"created":"2016-11-03 19:56:13.000000000","uploader":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"ref":"refs/changes/37/389337/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/django_openstack_auth","ref":"refs/changes/37/389337/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/3"}}},"commit":{"parents":[{"commit":"8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729"}]}],"author":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-20 19:59:55.000000000","tz":120},"committer":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-11-03 19:54:34.000000000","tz":60},"subject":"Allow federated users to auth with domain scope","message":"Allow federated users to auth with domain scope\n\nWhen a federated user logs in, openstack_auth receives an unscoped\ntoken and no user_domain_name parameter. Currently, if the federated\nuser has a role in one or more domains, but no roles in any projects,\nopenstack_auth prevents authorization and denies the user\u0027s login with\nthe error \"You are not authorized for any projects or domains.\" This is\na problem because a keystone administrator may want to give federated\nusers access to a domain without any projects in it, for example so\ndelegate the creation of projects to the federated users themselves.\nThis patch allows federated users without project roles to log in by\nlooking up domains as well as projects when attempting to scope the\ntoken. This lookup is skipped if the domain was passed as part of the\nrequest.\n\nThis patch also slightly restructures the OpenStackAuthTestsWebSSO\ntests because mox needed the plugin to only be called once during\nauthentication, so the plugin object needed to be available to both\n_mock_unscoped_client_list_domains() and\n_mock_unscoped_client_list_projects().\n\nChange-Id: I151218ff28c0728898ed5315d63dd8122ce3b166\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/42fd5c8acfdfa5a20f75a71403aa819fa9ddb0b1"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/42fd5c8acfdfa5a20f75a71403aa819fa9ddb0b1"}]},"branch":"refs/heads/master"},"00e1629943a8d33cfa9fa6f3f864d65f38a4760d":{"kind":"NO_CODE_CHANGE","_number":4,"created":"2016-11-28 11:53:18.000000000","uploader":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"ref":"refs/changes/37/389337/4","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/django_openstack_auth","ref":"refs/changes/37/389337/4","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/4"}}},"commit":{"parents":[{"commit":"8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729"}]}],"author":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-20 19:59:55.000000000","tz":120},"committer":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-11-28 11:49:41.000000000","tz":60},"subject":"Allow federated users to auth with domain scope","message":"Allow federated users to auth with domain scope\n\nWhen a federated user logs in, openstack_auth receives an unscoped\ntoken and no user_domain_name parameter. Currently, if the federated\nuser has a role in one or more domains, but no roles in any projects,\nopenstack_auth prevents authorization and denies the user\u0027s login with\nthe error \"You are not authorized for any projects or domains.\" This is\na problem because first, it\u0027s inaccurate, as the user is authorized for\nat least one domain, and second, a keystone administrator may want to\ngive federated users access to a domain without any projects in it, for\nexample so delegate the creation of projects to the federated users\nthemselves. This patch allows federated users without project roles to\nlog in by looking up domains as well as projects when attempting to\nscope the token. This lookup is skipped if the domain was passed as\npart of the request.\n\nThis patch also slightly restructures the OpenStackAuthTestsWebSSO\ntests because mox needed the plugin to only be called once during\nauthentication, so the plugin object needed to be available to both\n_mock_unscoped_client_list_domains() and\n_mock_unscoped_client_list_projects().\n\nChange-Id: I151218ff28c0728898ed5315d63dd8122ce3b166\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/00e1629943a8d33cfa9fa6f3f864d65f38a4760d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/00e1629943a8d33cfa9fa6f3f864d65f38a4760d"}]},"branch":"refs/heads/master"},"c035774bc1a80a0cadd6e42aebc2fc0483d38dbc":{"kind":"REWORK","_number":5,"created":"2016-12-11 16:00:31.000000000","uploader":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"ref":"refs/changes/37/389337/5","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/django_openstack_auth","ref":"refs/changes/37/389337/5","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/5"}}},"commit":{"parents":[{"commit":"8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/8dfdc9403fd399c1806eaddc2c8b28c9e8c7b729"}]}],"author":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-20 19:59:55.000000000","tz":120},"committer":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-12-11 16:00:07.000000000","tz":60},"subject":"Allow federated users to auth with domain scope","message":"Allow federated users to auth with domain scope\n\nWhen a federated user logs in, openstack_auth receives an unscoped\ntoken and no user_domain_name parameter. Currently, if the federated\nuser has a role in one or more domains, but no roles in any projects,\nopenstack_auth prevents authorization and denies the user\u0027s login with\nthe error \"You are not authorized for any projects or domains.\" This is\na problem because first, it\u0027s inaccurate, as the user is authorized for\nat least one domain, and second, a keystone administrator may want to\ngive federated users access to a domain without any projects in it, for\nexample so delegate the creation of projects to the federated users\nthemselves. This patch allows federated users without project roles to\nlog in by looking up domains as well as projects when attempting to\nscope the token. This lookup is skipped if the domain was passed as\npart of the request.\n\nSince federated users could have roles in more than one domain, we need\nto allow the user to choose the domain they want to use. This patch\nexposes the domain list as a user attribute so that Horizon could\npotentially use it as a menu selector[1]. Since both the user object\nand the authenticate method need to list domains, the code was added to\nthe utils module so it would be accessible from both places. (This is\ncontrary to how listing projects is done, which is defined twice but\nnearly equivalently in the plugin wrapper[2] and the utils module[3]).\n\nThis patch also slightly restructures the OpenStackAuthTestsWebSSO\ntests because mox needed the plugin to only be called once during\nauthentication, so the plugin object needed to be available to both\n_mock_unscoped_client_list_domains() and\n_mock_unscoped_client_list_projects().\n\n[1] http://git.openstack.org/cgit/openstack/horizon/tree/openstack_dashboard/templatetags/context_selection.py?h\u003d11.0.0.0b1#n59\n[2] http://git.openstack.org/cgit/openstack/django_openstack_auth/tree/openstack_auth/plugin/base.py?h\u003d3.0.0#n58\n[3] http://git.openstack.org/cgit/openstack/django_openstack_auth/tree/openstack_auth/utils.py?h\u003d3.0.0#n354\n\nCloses-bug: #1649101\n\nChange-Id: I151218ff28c0728898ed5315d63dd8122ce3b166\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/c035774bc1a80a0cadd6e42aebc2fc0483d38dbc"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/c035774bc1a80a0cadd6e42aebc2fc0483d38dbc"}]},"branch":"refs/heads/master"},"1268b3301d17d83904a544de73684991ab772322":{"kind":"REWORK","_number":6,"created":"2017-01-20 18:12:02.000000000","uploader":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"ref":"refs/changes/37/389337/6","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/django_openstack_auth","ref":"refs/changes/37/389337/6","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/6"}}},"commit":{"parents":[{"commit":"f3c21575d2a3effe1a82a8f22110ea542cb9c9dc","subject":"Fix exception catch-all in domain scope auth","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/f3c21575d2a3effe1a82a8f22110ea542cb9c9dc"}]}],"author":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-20 19:59:55.000000000","tz":120},"committer":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2017-01-20 18:10:02.000000000","tz":60},"subject":"Allow federated users to auth with domain scope","message":"Allow federated users to auth with domain scope\n\nWhen a federated user logs in, openstack_auth receives an unscoped\ntoken and no user_domain_name parameter. Currently, if the federated\nuser has a role in one or more domains, but no roles in any projects,\nopenstack_auth prevents authorization and denies the user\u0027s login with\nthe error \"You are not authorized for any projects or domains.\" This is\na problem because first, it\u0027s inaccurate, as the user is authorized for\nat least one domain, and second, a keystone administrator may want to\ngive federated users access to a domain without any projects in it, for\nexample so delegate the creation of projects to the federated users\nthemselves. This patch allows federated users without project roles to\nlog in by looking up domains as well as projects when attempting to\nscope the token. This lookup is skipped if the domain was passed as\npart of the request.\n\nThis patch also slightly restructures the OpenStackAuthTestsWebSSO\nand OpenStackAuthTestsV3 tests because mox needs to simulate only one instance\nof the plugin but two instances of the client objects for every call to\nauthenticate().\n\nChange-Id: I151218ff28c0728898ed5315d63dd8122ce3b166\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/1268b3301d17d83904a544de73684991ab772322"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/1268b3301d17d83904a544de73684991ab772322"}]},"branch":"refs/heads/master"},"ca3166707b2b8d121d4bf75dcea32ddfd3a442f1":{"kind":"REWORK","_number":7,"created":"2017-01-25 18:43:20.000000000","uploader":{"_account_id":8482,"name":"Colleen Murphy","email":"colleen@gazlene.net","username":"krinkle"},"ref":"refs/changes/37/389337/7","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/django_openstack_auth","ref":"refs/changes/37/389337/7","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/django_openstack_auth refs/changes/37/389337/7"}}},"commit":{"parents":[{"commit":"f3c21575d2a3effe1a82a8f22110ea542cb9c9dc","subject":"Fix exception catch-all in domain scope auth","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/f3c21575d2a3effe1a82a8f22110ea542cb9c9dc"}]}],"author":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2016-10-20 19:59:55.000000000","tz":120},"committer":{"name":"Colleen Murphy","email":"colleen@gazlene.net","date":"2017-01-25 18:42:26.000000000","tz":60},"subject":"Allow federated users to auth with domain scope","message":"Allow federated users to auth with domain scope\n\nWhen a federated user logs in, openstack_auth receives an unscoped\ntoken and no user_domain_name parameter. Currently, if the federated\nuser has a role in one or more domains, but no roles in any projects,\nopenstack_auth prevents authorization and denies the user\u0027s login with\nthe error \"You are not authorized for any projects or domains.\" This is\na problem because first, it\u0027s inaccurate, as the user is authorized for\nat least one domain, and second, a keystone administrator may want to\ngive federated users access to a domain without any projects in it, for\nexample so delegate the creation of projects to the federated users\nthemselves. This patch allows federated users without project roles to\nlog in by looking up domains as well as projects when attempting to\nscope the token. This lookup is skipped if the domain was passed as\npart of the request.\n\nThis patch also slightly restructures the OpenStackAuthTestsWebSSO\nand OpenStackAuthTestsV3 tests because mox needs to simulate only one instance\nof the plugin but two instances of the client objects for every call to\nauthenticate().\n\nCloses-bug: #1649101\n\nChange-Id: I151218ff28c0728898ed5315d63dd8122ce3b166\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/ca3166707b2b8d121d4bf75dcea32ddfd3a442f1"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/django_openstack_auth/commit/ca3166707b2b8d121d4bf75dcea32ddfd3a442f1"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
