{"action":"created","issue":{"url":"https://api.github.com/repos/ministryofjustice/fr-staffapp/issues/107","labels_url":"https://api.github.com/repos/ministryofjustice/fr-staffapp/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/fr-staffapp/issues/107/comments","events_url":"https://api.github.com/repos/ministryofjustice/fr-staffapp/issues/107/events","html_url":"https://github.com/ministryofjustice/fr-staffapp/pull/107","id":85531561,"number":107,"title":"Create manager role","user":{"login":"colinbruce","id":6757677,"avatar_url":"https://avatars.githubusercontent.com/u/6757677?v=3","gravatar_id":"","url":"https://api.github.com/users/colinbruce","html_url":"https://github.com/colinbruce","followers_url":"https://api.github.com/users/colinbruce/followers","following_url":"https://api.github.com/users/colinbruce/following{/other_user}","gists_url":"https://api.github.com/users/colinbruce/gists{/gist_id}","starred_url":"https://api.github.com/users/colinbruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinbruce/subscriptions","organizations_url":"https://api.github.com/users/colinbruce/orgs","repos_url":"https://api.github.com/users/colinbruce/repos","events_url":"https://api.github.com/users/colinbruce/events{/privacy}","received_events_url":"https://api.github.com/users/colinbruce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T13:17:25Z","updated_at":"2015-06-05T13:19:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/fr-staffapp/pulls/107","html_url":"https://github.com/ministryofjustice/fr-staffapp/pull/107","diff_url":"https://github.com/ministryofjustice/fr-staffapp/pull/107.diff","patch_url":"https://github.com/ministryofjustice/fr-staffapp/pull/107.patch"},"body":"Allow admins to create managers per-office\r\n\r\nA manager can:\r\n* invite users and managers to the same office as themselves\r\n* edit users from their own office, fields:\r\n  - name, email, role and office\r\n* see a list of DWP checks on their dashboard that have \r\nbeen undertaken in their office\r\n* they cannot see or amend users in other offices, or admins \r\nwithin their own office\r\n\r\n**Note** : When a user is moved into another office, the manager\r\nis shown the email addresses for managers in the new office\r\n\r\n[finishes #93738888]"},"comment":{"url":"https://api.github.com/repos/ministryofjustice/fr-staffapp/issues/comments/109290984","html_url":"https://github.com/ministryofjustice/fr-staffapp/pull/107#issuecomment-109290984","issue_url":"https://api.github.com/repos/ministryofjustice/fr-staffapp/issues/107","id":109290984,"user":{"login":"colinbruce","id":6757677,"avatar_url":"https://avatars.githubusercontent.com/u/6757677?v=3","gravatar_id":"","url":"https://api.github.com/users/colinbruce","html_url":"https://github.com/colinbruce","followers_url":"https://api.github.com/users/colinbruce/followers","following_url":"https://api.github.com/users/colinbruce/following{/other_user}","gists_url":"https://api.github.com/users/colinbruce/gists{/gist_id}","starred_url":"https://api.github.com/users/colinbruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinbruce/subscriptions","organizations_url":"https://api.github.com/users/colinbruce/orgs","repos_url":"https://api.github.com/users/colinbruce/repos","events_url":"https://api.github.com/users/colinbruce/events{/privacy}","received_events_url":"https://api.github.com/users/colinbruce/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T13:19:02Z","updated_at":"2015-06-05T13:19:02Z","body":"[finishes #93738888]\r\n[finishes #95978294]\r\n[finishes #96090702]"}}