{"action":"created","issue":{"url":"https://api.github.com/repos/codenvy/codenvy/issues/1451","repository_url":"https://api.github.com/repos/codenvy/codenvy","labels_url":"https://api.github.com/repos/codenvy/codenvy/issues/1451/labels{/name}","comments_url":"https://api.github.com/repos/codenvy/codenvy/issues/1451/comments","events_url":"https://api.github.com/repos/codenvy/codenvy/issues/1451/events","html_url":"https://github.com/codenvy/codenvy/pull/1451","id":198136268,"number":1451,"title":"CODENVY-1302 Add super privileges for users who have manageSystem permission","user":{"login":"sleshchenko","id":5887312,"avatar_url":"https://avatars.githubusercontent.com/u/5887312?v=3","gravatar_id":"","url":"https://api.github.com/users/sleshchenko","html_url":"https://github.com/sleshchenko","followers_url":"https://api.github.com/users/sleshchenko/followers","following_url":"https://api.github.com/users/sleshchenko/following{/other_user}","gists_url":"https://api.github.com/users/sleshchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/sleshchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleshchenko/subscriptions","organizations_url":"https://api.github.com/users/sleshchenko/orgs","repos_url":"https://api.github.com/users/sleshchenko/repos","events_url":"https://api.github.com/users/sleshchenko/events{/privacy}","received_events_url":"https://api.github.com/users/sleshchenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-30T11:27:35Z","updated_at":"2017-02-09T13:50:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codenvy/codenvy/pulls/1451","html_url":"https://github.com/codenvy/codenvy/pull/1451","diff_url":"https://github.com/codenvy/codenvy/pull/1451.diff","patch_url":"https://github.com/codenvy/codenvy/pull/1451.patch"},"body":"### What does this PR do?\r\nAdds configuration parameter `system.super_privileged_mode` that allow to extend default opportunities for users who have `manageSystem` permission.\r\n\r\n### What issues does this PR fix or reference?\r\nhttps://github.com/codenvy/codenvy/issues/1302\r\n\r\n### Previous Behavior\r\nUsers who have `manageSystem` permission is able to perform following operations with workspaces: getByKey, getByNamespace, stop.\r\n\r\n### New Behavior\r\nIf corresponding configuration parameter is `true` then users who have `manageSystem` can getByKey, getByNamespace, stop workspaces and getResourcesInformation, getByParent, getByUser organizations. If user needs to perform any other action with workspace or organization, he is able to add permissions there for himself.\r\n\r\n### Tests written?\r\nYes\r\n\r\n### Docs PR\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/codenvy/codenvy/1451)\r\n<!-- Reviewable:end -->\r\n"},"comment":{"url":"https://api.github.com/repos/codenvy/codenvy/issues/comments/278645426","html_url":"https://github.com/codenvy/codenvy/pull/1451#issuecomment-278645426","issue_url":"https://api.github.com/repos/codenvy/codenvy/issues/1451","id":278645426,"user":{"login":"JamesDrummond","id":20580888,"avatar_url":"https://avatars.githubusercontent.com/u/20580888?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesDrummond","html_url":"https://github.com/JamesDrummond","followers_url":"https://api.github.com/users/JamesDrummond/followers","following_url":"https://api.github.com/users/JamesDrummond/following{/other_user}","gists_url":"https://api.github.com/users/JamesDrummond/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesDrummond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesDrummond/subscriptions","organizations_url":"https://api.github.com/users/JamesDrummond/orgs","repos_url":"https://api.github.com/users/JamesDrummond/repos","events_url":"https://api.github.com/users/JamesDrummond/events{/privacy}","received_events_url":"https://api.github.com/users/JamesDrummond/received_events","type":"User","site_admin":false},"created_at":"2017-02-09T13:50:32Z","updated_at":"2017-02-09T13:50:32Z","body":"Please add kind label.\r\n"}}
{"actor":{"display_login":"JamesDrummond"}}