{"action":"created","issue":{"url":"https://api.github.com/repos/Harvard-University-iCommons/icommons_lti_tools/issues/356","labels_url":"https://api.github.com/repos/Harvard-University-iCommons/icommons_lti_tools/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/Harvard-University-iCommons/icommons_lti_tools/issues/356/comments","events_url":"https://api.github.com/repos/Harvard-University-iCommons/icommons_lti_tools/issues/356/events","html_url":"https://github.com/Harvard-University-iCommons/icommons_lti_tools/pull/356","id":103749215,"number":356,"title":"Sprint 30 TLT-1918 Disallow edit of fed sections","user":{"login":"rascalking","id":707505,"avatar_url":"https://avatars.githubusercontent.com/u/707505?v=3","gravatar_id":"","url":"https://api.github.com/users/rascalking","html_url":"https://github.com/rascalking","followers_url":"https://api.github.com/users/rascalking/followers","following_url":"https://api.github.com/users/rascalking/following{/other_user}","gists_url":"https://api.github.com/users/rascalking/gists{/gist_id}","starred_url":"https://api.github.com/users/rascalking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rascalking/subscriptions","organizations_url":"https://api.github.com/users/rascalking/orgs","repos_url":"https://api.github.com/users/rascalking/repos","events_url":"https://api.github.com/users/rascalking/events{/privacy}","received_events_url":"https://api.github.com/users/rascalking/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-28T16:14:40Z","updated_at":"2015-08-28T16:25:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Harvard-University-iCommons/icommons_lti_tools/pulls/356","html_url":"https://github.com/Harvard-University-iCommons/icommons_lti_tools/pull/356","diff_url":"https://github.com/Harvard-University-iCommons/icommons_lti_tools/pull/356.diff","patch_url":"https://github.com/Harvard-University-iCommons/icommons_lti_tools/pull/356.patch"},"body":"The major changes here are:\r\n* Updating the template to disable the edit button (the pencil) for fed sections.\r\n* Updating the view to refuse to edit fed sections.  (this includes one new unit test)\r\n\r\nThe view change required touching a large percentage of the unit tests to add new mock objects in to account for the calls to `get_section`.\r\n\r\nI also updated the order of the template logic so that we check for editable sections first (and thus display the \"cannot edit fed sections\" error) before checking for enrollments in a section."},"comment":{"url":"https://api.github.com/repos/Harvard-University-iCommons/icommons_lti_tools/issues/comments/135824664","html_url":"https://github.com/Harvard-University-iCommons/icommons_lti_tools/pull/356#issuecomment-135824664","issue_url":"https://api.github.com/repos/Harvard-University-iCommons/icommons_lti_tools/issues/356","id":135824664,"user":{"login":"douglashall","id":224634,"avatar_url":"https://avatars.githubusercontent.com/u/224634?v=3","gravatar_id":"","url":"https://api.github.com/users/douglashall","html_url":"https://github.com/douglashall","followers_url":"https://api.github.com/users/douglashall/followers","following_url":"https://api.github.com/users/douglashall/following{/other_user}","gists_url":"https://api.github.com/users/douglashall/gists{/gist_id}","starred_url":"https://api.github.com/users/douglashall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglashall/subscriptions","organizations_url":"https://api.github.com/users/douglashall/orgs","repos_url":"https://api.github.com/users/douglashall/repos","events_url":"https://api.github.com/users/douglashall/events{/privacy}","received_events_url":"https://api.github.com/users/douglashall/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T16:25:01Z","updated_at":"2015-08-28T16:25:01Z","body":"Looks good."}}