{"action":"created","issue":{"url":"https://api.github.com/repos/dotCMS/core/issues/14116","repository_url":"https://api.github.com/repos/dotCMS/core","labels_url":"https://api.github.com/repos/dotCMS/core/issues/14116/labels{/name}","comments_url":"https://api.github.com/repos/dotCMS/core/issues/14116/comments","events_url":"https://api.github.com/repos/dotCMS/core/issues/14116/events","html_url":"https://github.com/dotCMS/core/issues/14116","id":314168969,"node_id":"MDU6SXNzdWUzMTQxNjg5Njk=","number":14116,"title":"Site selector needs to update on login as","user":{"login":"fmontes","id":751424,"node_id":"MDQ6VXNlcjc1MTQyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/751424?v=4","gravatar_id":"","url":"https://api.github.com/users/fmontes","html_url":"https://github.com/fmontes","followers_url":"https://api.github.com/users/fmontes/followers","following_url":"https://api.github.com/users/fmontes/following{/other_user}","gists_url":"https://api.github.com/users/fmontes/gists{/gist_id}","starred_url":"https://api.github.com/users/fmontes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmontes/subscriptions","organizations_url":"https://api.github.com/users/fmontes/orgs","repos_url":"https://api.github.com/users/fmontes/repos","events_url":"https://api.github.com/users/fmontes/events{/privacy}","received_events_url":"https://api.github.com/users/fmontes/received_events","type":"User","site_admin":false},"labels":[{"id":1061370389,"node_id":"MDU6TGFiZWwxMDYxMzcwMzg5","url":"https://api.github.com/repos/dotCMS/core/labels/Release%20:%205.0.3","name":"Release : 5.0.3","color":"fbca04","default":false},{"id":1398029,"node_id":"MDU6TGFiZWwxMzk4MDI5","url":"https://api.github.com/repos/dotCMS/core/labels/Type%20:%20Bug","name":"Type : Bug","color":"006b75","default":false},{"id":11172153,"node_id":"MDU6TGFiZWwxMTE3MjE1Mw==","url":"https://api.github.com/repos/dotCMS/core/labels/WF%20:%20Needs%20Work","name":"WF : Needs Work","color":"e99695","default":false},{"id":915018474,"node_id":"MDU6TGFiZWw5MTUwMTg0NzQ=","url":"https://api.github.com/repos/dotCMS/core/labels/Waiting%20for%20core%20merge","name":"Waiting for core merge","color":"e58e0b","default":false}],"state":"open","locked":false,"assignee":{"login":"fmontes","id":751424,"node_id":"MDQ6VXNlcjc1MTQyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/751424?v=4","gravatar_id":"","url":"https://api.github.com/users/fmontes","html_url":"https://github.com/fmontes","followers_url":"https://api.github.com/users/fmontes/followers","following_url":"https://api.github.com/users/fmontes/following{/other_user}","gists_url":"https://api.github.com/users/fmontes/gists{/gist_id}","starred_url":"https://api.github.com/users/fmontes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmontes/subscriptions","organizations_url":"https://api.github.com/users/fmontes/orgs","repos_url":"https://api.github.com/users/fmontes/repos","events_url":"https://api.github.com/users/fmontes/events{/privacy}","received_events_url":"https://api.github.com/users/fmontes/received_events","type":"User","site_admin":false},"assignees":[{"login":"fmontes","id":751424,"node_id":"MDQ6VXNlcjc1MTQyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/751424?v=4","gravatar_id":"","url":"https://api.github.com/users/fmontes","html_url":"https://github.com/fmontes","followers_url":"https://api.github.com/users/fmontes/followers","following_url":"https://api.github.com/users/fmontes/following{/other_user}","gists_url":"https://api.github.com/users/fmontes/gists{/gist_id}","starred_url":"https://api.github.com/users/fmontes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmontes/subscriptions","organizations_url":"https://api.github.com/users/fmontes/orgs","repos_url":"https://api.github.com/users/fmontes/repos","events_url":"https://api.github.com/users/fmontes/events{/privacy}","received_events_url":"https://api.github.com/users/fmontes/received_events","type":"User","site_admin":false},{"login":"alfredo-dotcms","id":37185433,"node_id":"MDQ6VXNlcjM3MTg1NDMz","avatar_url":"https://avatars0.githubusercontent.com/u/37185433?v=4","gravatar_id":"","url":"https://api.github.com/users/alfredo-dotcms","html_url":"https://github.com/alfredo-dotcms","followers_url":"https://api.github.com/users/alfredo-dotcms/followers","following_url":"https://api.github.com/users/alfredo-dotcms/following{/other_user}","gists_url":"https://api.github.com/users/alfredo-dotcms/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredo-dotcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredo-dotcms/subscriptions","organizations_url":"https://api.github.com/users/alfredo-dotcms/orgs","repos_url":"https://api.github.com/users/alfredo-dotcms/repos","events_url":"https://api.github.com/users/alfredo-dotcms/events{/privacy}","received_events_url":"https://api.github.com/users/alfredo-dotcms/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotCMS/core/milestones/142","html_url":"https://github.com/dotCMS/core/milestone/142","labels_url":"https://api.github.com/repos/dotCMS/core/milestones/142/labels","id":3720398,"node_id":"MDk6TWlsZXN0b25lMzcyMDM5OA==","number":142,"title":"Fox Current","description":"","creator":{"login":"fmontes","id":751424,"node_id":"MDQ6VXNlcjc1MTQyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/751424?v=4","gravatar_id":"","url":"https://api.github.com/users/fmontes","html_url":"https://github.com/fmontes","followers_url":"https://api.github.com/users/fmontes/followers","following_url":"https://api.github.com/users/fmontes/following{/other_user}","gists_url":"https://api.github.com/users/fmontes/gists{/gist_id}","starred_url":"https://api.github.com/users/fmontes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmontes/subscriptions","organizations_url":"https://api.github.com/users/fmontes/orgs","repos_url":"https://api.github.com/users/fmontes/repos","events_url":"https://api.github.com/users/fmontes/events{/privacy}","received_events_url":"https://api.github.com/users/fmontes/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":6,"state":"open","created_at":"2018-10-08T13:24:21Z","updated_at":"2018-11-08T19:32:18Z","due_on":"2018-11-12T08:00:00Z","closed_at":null},"comments":5,"created_at":"2018-04-13T16:17:04Z","updated_at":"2018-11-09T14:44:44Z","closed_at":null,"author_association":"MEMBER","body":"As a user I want to see the see the right site list according the user I'm logged or logged as\n\n## Expected Behavior\nWhen user login as we need to refresh the list of sites in the site selector\n\n## Current Behavior\nWhen user login as nothing happen in the site selector\n\n## Possible Solution\nListen for the changes un Auth\n\n## Known Workarounds\nRefresh the whole page\n\n## Steps to Reproduce (for bugs)\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\n1. Login\n2. Create sites\n3. Assign sites to diff user\n4. Login as an user and see the list of sites in the site selector doesn't update\n\n## Acceptance Criteria\n\n1. When user login as update the list of the sites in the site selector\n2. If the current site is not available in the new list set the default site and if not set the first site as current site\n3. Work in all the supported browsers (don't forget IE11 and iPad)\n4. Multilanguage\n5. Unit test\n"},"comment":{"url":"https://api.github.com/repos/dotCMS/core/issues/comments/437380233","html_url":"https://github.com/dotCMS/core/issues/14116#issuecomment-437380233","issue_url":"https://api.github.com/repos/dotCMS/core/issues/14116","id":437380233,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzM4MDIzMw==","user":{"login":"jgambarios","id":923947,"node_id":"MDQ6VXNlcjkyMzk0Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/923947?v=4","gravatar_id":"","url":"https://api.github.com/users/jgambarios","html_url":"https://github.com/jgambarios","followers_url":"https://api.github.com/users/jgambarios/followers","following_url":"https://api.github.com/users/jgambarios/following{/other_user}","gists_url":"https://api.github.com/users/jgambarios/gists{/gist_id}","starred_url":"https://api.github.com/users/jgambarios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgambarios/subscriptions","organizations_url":"https://api.github.com/users/jgambarios/orgs","repos_url":"https://api.github.com/users/jgambarios/repos","events_url":"https://api.github.com/users/jgambarios/events{/privacy}","received_events_url":"https://api.github.com/users/jgambarios/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T14:44:44Z","updated_at":"2018-11-09T14:44:44Z","author_association":"CONTRIBUTOR","body":"PR: https://github.com/dotCMS/core/pull/15524"}}
{"actor":{"display_login":"jgambarios"}}