{"action":"created","issue":{"url":"https://api.github.com/repos/2600hz/kazoo/issues/2977","repository_url":"https://api.github.com/repos/2600hz/kazoo","labels_url":"https://api.github.com/repos/2600hz/kazoo/issues/2977/labels{/name}","comments_url":"https://api.github.com/repos/2600hz/kazoo/issues/2977/comments","events_url":"https://api.github.com/repos/2600hz/kazoo/issues/2977/events","html_url":"https://github.com/2600hz/kazoo/pull/2977","id":195088275,"number":2977,"title":"PISTON-351: validate did ownership before saving callflows/trunks","user":{"login":"danielfinke","id":2608395,"avatar_url":"https://avatars.githubusercontent.com/u/2608395?v=3","gravatar_id":"","url":"https://api.github.com/users/danielfinke","html_url":"https://github.com/danielfinke","followers_url":"https://api.github.com/users/danielfinke/followers","following_url":"https://api.github.com/users/danielfinke/following{/other_user}","gists_url":"https://api.github.com/users/danielfinke/gists{/gist_id}","starred_url":"https://api.github.com/users/danielfinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielfinke/subscriptions","organizations_url":"https://api.github.com/users/danielfinke/orgs","repos_url":"https://api.github.com/users/danielfinke/repos","events_url":"https://api.github.com/users/danielfinke/events{/privacy}","received_events_url":"https://api.github.com/users/danielfinke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-12T21:18:04Z","updated_at":"2016-12-22T00:15:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/2600hz/kazoo/pulls/2977","html_url":"https://github.com/2600hz/kazoo/pull/2977","diff_url":"https://github.com/2600hz/kazoo/pull/2977.diff","patch_url":"https://github.com/2600hz/kazoo/pull/2977.patch"},"body":"Ensure that number docs can't be modified by cb_callflows or cb_connectivity if the authorizing account does have rights to do so.\r\nWe noticed that it was possible to update fields in a numbers document that shouldn't be allowed simply by permitting the update of in_service numbers by setting assign_to to an account that /would/ allow those doc updates. This is handled in the knm_number_states change.\r\ncb_callflows and cb_connectivity have validation functions to prevent the callflow from saving if the additional functions (track_assignment and reconciliation) shouldn't be allowed."},"comment":{"url":"https://api.github.com/repos/2600hz/kazoo/issues/comments/268682180","html_url":"https://github.com/2600hz/kazoo/pull/2977#issuecomment-268682180","issue_url":"https://api.github.com/repos/2600hz/kazoo/issues/2977","id":268682180,"user":{"login":"lazedo","id":770988,"avatar_url":"https://avatars.githubusercontent.com/u/770988?v=3","gravatar_id":"","url":"https://api.github.com/users/lazedo","html_url":"https://github.com/lazedo","followers_url":"https://api.github.com/users/lazedo/followers","following_url":"https://api.github.com/users/lazedo/following{/other_user}","gists_url":"https://api.github.com/users/lazedo/gists{/gist_id}","starred_url":"https://api.github.com/users/lazedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazedo/subscriptions","organizations_url":"https://api.github.com/users/lazedo/orgs","repos_url":"https://api.github.com/users/lazedo/repos","events_url":"https://api.github.com/users/lazedo/events{/privacy}","received_events_url":"https://api.github.com/users/lazedo/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T00:15:30Z","updated_at":"2016-12-22T00:15:30Z","body":"@danielfinke i don't understand what you're trying to do here. the initial description of the PR doesn't seem to be what was coded. this needs careful review"}}
{"actor":{"display_login":"lazedo"}}