{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/4166","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/4166/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/4166/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/4166/events","html_url":"https://github.com/medic/medic-webapp/issues/4166","id":294595454,"number":4166,"title":"People created via SMS are not replicated to restricted users without reloading the app","user":{"login":"sglangevin","id":1286381,"avatar_url":"https://avatars1.githubusercontent.com/u/1286381?v=4","gravatar_id":"","url":"https://api.github.com/users/sglangevin","html_url":"https://github.com/sglangevin","followers_url":"https://api.github.com/users/sglangevin/followers","following_url":"https://api.github.com/users/sglangevin/following{/other_user}","gists_url":"https://api.github.com/users/sglangevin/gists{/gist_id}","starred_url":"https://api.github.com/users/sglangevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglangevin/subscriptions","organizations_url":"https://api.github.com/users/sglangevin/orgs","repos_url":"https://api.github.com/users/sglangevin/repos","events_url":"https://api.github.com/users/sglangevin/events{/privacy}","received_events_url":"https://api.github.com/users/sglangevin/received_events","type":"User","site_admin":false},"labels":[{"id":279437628,"url":"https://api.github.com/repos/medic/medic-webapp/labels/Priority:%201%20-%20High","name":"Priority: 1 - High","color":"CC0000","default":false},{"id":590960790,"url":"https://api.github.com/repos/medic/medic-webapp/labels/SMS%20Workflows","name":"SMS Workflows","color":"5319e7","default":false},{"id":55021772,"url":"https://api.github.com/repos/medic/medic-webapp/labels/Status:%201%20-%20Triaged","name":"Status: 1 - Triaged","color":"440044","default":false},{"id":4577664,"url":"https://api.github.com/repos/medic/medic-webapp/labels/Type:%20Bug","name":"Type: Bug","color":"c10c02","default":false}],"state":"open","locked":false,"assignee":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars2.githubusercontent.com/u/2064938?v=4","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"assignees":[{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars2.githubusercontent.com/u/2064938?v=4","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-06T00:55:33Z","updated_at":"2018-02-07T08:25:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Seen on standard.dev on 2.14.0-beta.9\r\n\r\nTo reproduce:\r\n1. Log in as a restricted user on phone/tablet\r\n1. Log in as a full access user or admin on your laptop.\r\n1. Use Medic Reporter to send N [Name] to register a new person in an area that your restricted user has access to.\r\n1. See that the person is created on the instance (check the area on your laptop).\r\n1. See that the person is not listed in the appropriate area on your phone/tablet.\r\n1. Go to the About page on your phone/tablet and click Reload.\r\n1. Go back to the appropriate area on your phone/tablet and see that the person has appeared.\r\n\r\nThis is a blocker for the 2.14.0 release."},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/363692857","html_url":"https://github.com/medic/medic-webapp/issues/4166#issuecomment-363692857","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/4166","id":363692857,"user":{"login":"derickl","id":83162,"avatar_url":"https://avatars0.githubusercontent.com/u/83162?v=4","gravatar_id":"","url":"https://api.github.com/users/derickl","html_url":"https://github.com/derickl","followers_url":"https://api.github.com/users/derickl/followers","following_url":"https://api.github.com/users/derickl/following{/other_user}","gists_url":"https://api.github.com/users/derickl/gists{/gist_id}","starred_url":"https://api.github.com/users/derickl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derickl/subscriptions","organizations_url":"https://api.github.com/users/derickl/orgs","repos_url":"https://api.github.com/users/derickl/repos","events_url":"https://api.github.com/users/derickl/events{/privacy}","received_events_url":"https://api.github.com/users/derickl/received_events","type":"User","site_admin":false},"created_at":"2018-02-07T08:25:56Z","updated_at":"2018-02-07T08:25:56Z","author_association":"NONE","body":"Some related information: @garethbowen \r\n\r\nScenario:\r\n\r\n1. Person related tasks where information is embedded in a contact doc. \r\n2. Set some property X which when true should trigger a task Y\r\n3. Task Y appears\r\n3. Modify the contact, set X to false and task Y still appears\r\n4. Refresh the UI, task Y disappears\r\n\r\nSomething of note is that, if task Z were to be triggered if X were false (and X was initially true), both tasks Y and Z appeared on the UI. Task Y disappears when the UI is refreshed.\r\n"}}
{"actor":{"display_login":"derickl"}}