{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1493","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1493/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1493/comments","events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1493/events","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1493","id":114044690,"number":1493,"title":"Fix EZP-23733: The delete button in section view/list should be disabled if the section can not be removed","user":{"login":"glye","id":289744,"avatar_url":"https://avatars.githubusercontent.com/u/289744?v=3","gravatar_id":"","url":"https://api.github.com/users/glye","html_url":"https://github.com/glye","followers_url":"https://api.github.com/users/glye/followers","following_url":"https://api.github.com/users/glye/following{/other_user}","gists_url":"https://api.github.com/users/glye/gists{/gist_id}","starred_url":"https://api.github.com/users/glye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glye/subscriptions","organizations_url":"https://api.github.com/users/glye/orgs","repos_url":"https://api.github.com/users/glye/repos","events_url":"https://api.github.com/users/glye/events{/privacy}","received_events_url":"https://api.github.com/users/glye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2015-10-29T13:01:22Z","updated_at":"2015-11-27T13:17:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1493","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1493","diff_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1493.diff","patch_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1493.patch"},"body":"> Fixes https://jira.ez.no/browse/EZP-23733\r\n> Also requires https://github.com/ezsystems/PlatformUIBundle/pull/415\r\n> Status: Ready for review\r\n\r\nAdds method for counting policies using section in limitations.\r\n\r\n- [ ] Tests are TODO, but given all the back-and-forth it should wait until we agree on approach."},"comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/comments/160137532","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1493#issuecomment-160137532","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1493","id":160137532,"user":{"login":"glye","id":289744,"avatar_url":"https://avatars.githubusercontent.com/u/289744?v=3","gravatar_id":"","url":"https://api.github.com/users/glye","html_url":"https://github.com/glye","followers_url":"https://api.github.com/users/glye/followers","following_url":"https://api.github.com/users/glye/following{/other_user}","gists_url":"https://api.github.com/users/glye/gists{/gist_id}","starred_url":"https://api.github.com/users/glye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glye/subscriptions","organizations_url":"https://api.github.com/users/glye/orgs","repos_url":"https://api.github.com/users/glye/repos","events_url":"https://api.github.com/users/glye/events{/privacy}","received_events_url":"https://api.github.com/users/glye/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T13:17:12Z","updated_at":"2015-11-27T13:17:12Z","body":"I'm still working on the tests, and the dependency https://github.com/ezsystems/PlatformUIBundle/pull/415 isn't approved yet."}}