{"action":"created","issue":{"url":"https://api.github.com/repos/ubuntu-core/snappy/issues/542","repository_url":"https://api.github.com/repos/ubuntu-core/snappy","labels_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/542/comments","events_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/542/events","html_url":"https://github.com/ubuntu-core/snappy/pull/542","id":136756990,"number":542,"title":"interfaces,interfaces/types: unify security snippet functions","user":{"login":"zyga","id":784262,"avatar_url":"https://avatars.githubusercontent.com/u/784262?v=3","gravatar_id":"","url":"https://api.github.com/users/zyga","html_url":"https://github.com/zyga","followers_url":"https://api.github.com/users/zyga/followers","following_url":"https://api.github.com/users/zyga/following{/other_user}","gists_url":"https://api.github.com/users/zyga/gists{/gist_id}","starred_url":"https://api.github.com/users/zyga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyga/subscriptions","organizations_url":"https://api.github.com/users/zyga/orgs","repos_url":"https://api.github.com/users/zyga/repos","events_url":"https://api.github.com/users/zyga/events{/privacy}","received_events_url":"https://api.github.com/users/zyga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-26T17:15:03Z","updated_at":"2016-02-26T17:19:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ubuntu-core/snappy/pulls/542","html_url":"https://github.com/ubuntu-core/snappy/pull/542","diff_url":"https://github.com/ubuntu-core/snappy/pull/542.diff","patch_url":"https://github.com/ubuntu-core/snappy/pull/542.patch"},"body":"This patch adds parity to PlugSecuritySnippet and SlotSecuritySnippet.\r\nNow, both functions get called with a Plug and a Slot associated with\r\nthe connection. This allows the security subsystem to have total freedom\r\nin expressing required permissions between plugs and slots.\r\n\r\nSigned-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>"},"comment":{"url":"https://api.github.com/repos/ubuntu-core/snappy/issues/comments/189379354","html_url":"https://github.com/ubuntu-core/snappy/pull/542#issuecomment-189379354","issue_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/542","id":189379354,"user":{"login":"niemeyer","id":378683,"avatar_url":"https://avatars.githubusercontent.com/u/378683?v=3","gravatar_id":"","url":"https://api.github.com/users/niemeyer","html_url":"https://github.com/niemeyer","followers_url":"https://api.github.com/users/niemeyer/followers","following_url":"https://api.github.com/users/niemeyer/following{/other_user}","gists_url":"https://api.github.com/users/niemeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/niemeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemeyer/subscriptions","organizations_url":"https://api.github.com/users/niemeyer/orgs","repos_url":"https://api.github.com/users/niemeyer/repos","events_url":"https://api.github.com/users/niemeyer/events{/privacy}","received_events_url":"https://api.github.com/users/niemeyer/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T17:19:42Z","updated_at":"2016-02-26T17:19:42Z","body":"LGTM"}}