{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/1729","repository_url":"https://api.github.com/repos/SUSE/Portus","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/1729/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/1729/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/1729/events","html_url":"https://github.com/SUSE/Portus/pull/1729","id":305506041,"number":1729,"title":"policies: added more fine-grained push policies","user":{"login":"mssola","id":767943,"avatar_url":"https://avatars0.githubusercontent.com/u/767943?v=4","gravatar_id":"","url":"https://api.github.com/users/mssola","html_url":"https://github.com/mssola","followers_url":"https://api.github.com/users/mssola/followers","following_url":"https://api.github.com/users/mssola/following{/other_user}","gists_url":"https://api.github.com/users/mssola/gists{/gist_id}","starred_url":"https://api.github.com/users/mssola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mssola/subscriptions","organizations_url":"https://api.github.com/users/mssola/orgs","repos_url":"https://api.github.com/users/mssola/repos","events_url":"https://api.github.com/users/mssola/events{/privacy}","received_events_url":"https://api.github.com/users/mssola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-15T11:05:54Z","updated_at":"2018-03-15T11:06:45Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/SUSE/Portus/pulls/1729","html_url":"https://github.com/SUSE/Portus/pull/1729","diff_url":"https://github.com/SUSE/Portus/pull/1729.diff","patch_url":"https://github.com/SUSE/Portus/pull/1729.patch"},"body":"Before this commit, an administrator was able to disable push control\r\nentirely for regular users. This commit adds a more fine-grained\r\nsolution:\r\n\r\n1. allow-teams: as usual.\r\n2. allow-personal: team access is restricted: regular users can only\r\n   push into their personal namespaces.\r\n3. admin-only: only admins can push.\r\n\r\nThis should hopefully tackle more work flows inside of Portus.\r\n\r\nFixes #1528\r\nSee #1137\r\n\r\nSigned-off-by: Miquel Sabaté Solà <msabate@suse.com>"},"comment":{"url":"https://api.github.com/repos/SUSE/Portus/issues/comments/373339866","html_url":"https://github.com/SUSE/Portus/pull/1729#issuecomment-373339866","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/1729","id":373339866,"user":{"login":"mssola","id":767943,"avatar_url":"https://avatars0.githubusercontent.com/u/767943?v=4","gravatar_id":"","url":"https://api.github.com/users/mssola","html_url":"https://github.com/mssola","followers_url":"https://api.github.com/users/mssola/followers","following_url":"https://api.github.com/users/mssola/following{/other_user}","gists_url":"https://api.github.com/users/mssola/gists{/gist_id}","starred_url":"https://api.github.com/users/mssola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mssola/subscriptions","organizations_url":"https://api.github.com/users/mssola/orgs","repos_url":"https://api.github.com/users/mssola/repos","events_url":"https://api.github.com/users/mssola/events{/privacy}","received_events_url":"https://api.github.com/users/mssola/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T11:06:45Z","updated_at":"2018-03-15T11:06:45Z","author_association":"CONTRIBUTOR","body":"Travis might fail because #1681 has to be merged first (includes a fix on the CI)"}}
{"actor":{"display_login":"mssola"}}