{"action":"created","issue":{"url":"https://api.github.com/repos/zendesk/timetracking_app/issues/58","labels_url":"https://api.github.com/repos/zendesk/timetracking_app/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/zendesk/timetracking_app/issues/58/comments","events_url":"https://api.github.com/repos/zendesk/timetracking_app/issues/58/events","html_url":"https://github.com/zendesk/timetracking_app/pull/58","id":112309292,"number":58,"title":"added setting to hide app, including edit modal, from non-admin agents","user":{"login":"jstjoe","id":2015604,"avatar_url":"https://avatars.githubusercontent.com/u/2015604?v=3","gravatar_id":"","url":"https://api.github.com/users/jstjoe","html_url":"https://github.com/jstjoe","followers_url":"https://api.github.com/users/jstjoe/followers","following_url":"https://api.github.com/users/jstjoe/following{/other_user}","gists_url":"https://api.github.com/users/jstjoe/gists{/gist_id}","starred_url":"https://api.github.com/users/jstjoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstjoe/subscriptions","organizations_url":"https://api.github.com/users/jstjoe/orgs","repos_url":"https://api.github.com/users/jstjoe/repos","events_url":"https://api.github.com/users/jstjoe/events{/privacy}","received_events_url":"https://api.github.com/users/jstjoe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-20T08:05:32Z","updated_at":"2015-10-20T23:28:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zendesk/timetracking_app/pulls/58","html_url":"https://github.com/zendesk/timetracking_app/pull/58","diff_url":"https://github.com/zendesk/timetracking_app/pull/58.diff","patch_url":"https://github.com/zendesk/timetracking_app/pull/58.patch"},"body":"added new setting that will enable admins to hide the app from non-admin agents for super-sneaky time tracking :ghost: \r\n\r\nthe setting and user role are evaluated on `app.created`\r\nif setting enabled and user not an admin -> app is hidden and variable set\r\n\r\nadded condition for that variable to if statement for showing the edit modal on submit (so Admins can still have the option to edit their own submission with this setting enabled)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zendesk/timetracking_app/issues/comments/149733248","html_url":"https://github.com/zendesk/timetracking_app/pull/58#issuecomment-149733248","issue_url":"https://api.github.com/repos/zendesk/timetracking_app/issues/58","id":149733248,"user":{"login":"danielbreves","id":2517811,"avatar_url":"https://avatars.githubusercontent.com/u/2517811?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbreves","html_url":"https://github.com/danielbreves","followers_url":"https://api.github.com/users/danielbreves/followers","following_url":"https://api.github.com/users/danielbreves/following{/other_user}","gists_url":"https://api.github.com/users/danielbreves/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbreves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbreves/subscriptions","organizations_url":"https://api.github.com/users/danielbreves/orgs","repos_url":"https://api.github.com/users/danielbreves/repos","events_url":"https://api.github.com/users/danielbreves/events{/privacy}","received_events_url":"https://api.github.com/users/danielbreves/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T23:28:58Z","updated_at":"2015-10-20T23:28:58Z","body":"Looks fine :+1: "}}