{"action":"created","issue":{"url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/496","repository_url":"https://api.github.com/repos/shinken-monitoring/mod-webui","labels_url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/496/comments","events_url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/496/events","html_url":"https://github.com/shinken-monitoring/mod-webui/issues/496","id":151644496,"number":496,"title":"[Feature Request] Add indication on \"Execute an action\" for non admin","user":{"login":"Azef1","id":15362041,"avatar_url":"https://avatars.githubusercontent.com/u/15362041?v=3","gravatar_id":"","url":"https://api.github.com/users/Azef1","html_url":"https://github.com/Azef1","followers_url":"https://api.github.com/users/Azef1/followers","following_url":"https://api.github.com/users/Azef1/following{/other_user}","gists_url":"https://api.github.com/users/Azef1/gists{/gist_id}","starred_url":"https://api.github.com/users/Azef1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azef1/subscriptions","organizations_url":"https://api.github.com/users/Azef1/orgs","repos_url":"https://api.github.com/users/Azef1/repos","events_url":"https://api.github.com/users/Azef1/events{/privacy}","received_events_url":"https://api.github.com/users/Azef1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-28T13:42:50Z","updated_at":"2016-04-29T10:24:24Z","closed_at":null,"body":"Hi, \r\n\r\nI propose you an improvement:\r\nAdd an indication for non admin click on button \"Execute an admin\"\r\n\r\nCurrently (popup is empty),\r\n![execute](https://cloud.githubusercontent.com/assets/15362041/14887809/bd61b188-0d57-11e6-8991-dd876f1b15b2.PNG)\r\n\r\n\r\nMy proposal:\r\n![propsal](https://cloud.githubusercontent.com/assets/15362041/14887817/c8d7500e-0d57-11e6-803f-2e27e4c6ef8a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/comments/215678867","html_url":"https://github.com/shinken-monitoring/mod-webui/issues/496#issuecomment-215678867","issue_url":"https://api.github.com/repos/shinken-monitoring/mod-webui/issues/496","id":215678867,"user":{"login":"Azef1","id":15362041,"avatar_url":"https://avatars.githubusercontent.com/u/15362041?v=3","gravatar_id":"","url":"https://api.github.com/users/Azef1","html_url":"https://github.com/Azef1","followers_url":"https://api.github.com/users/Azef1/followers","following_url":"https://api.github.com/users/Azef1/following{/other_user}","gists_url":"https://api.github.com/users/Azef1/gists{/gist_id}","starred_url":"https://api.github.com/users/Azef1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azef1/subscriptions","organizations_url":"https://api.github.com/users/Azef1/orgs","repos_url":"https://api.github.com/users/Azef1/repos","events_url":"https://api.github.com/users/Azef1/events{/privacy}","received_events_url":"https://api.github.com/users/Azef1/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T10:24:24Z","updated_at":"2016-04-29T10:24:24Z","body":"In contact cfg when i specified:\r\n```\r\n can_submit_commands            0\r\n is_admin                       0\r\n```\r\nthe simple user see the button \"Execute an action\" and if the user click on the button he see a menu empty. the user think it's a bug... The button should be hide for simple user.\r\n\r\nIs it with the command  `can_submit_commands 0` to disable submit commands ?\r\n\r\n\r\n"}}