{"action":"opened","issue":{"url":"https://api.github.com/repos/elkarte/Elkarte/issues/2120","labels_url":"https://api.github.com/repos/elkarte/Elkarte/issues/2120/labels{/name}","comments_url":"https://api.github.com/repos/elkarte/Elkarte/issues/2120/comments","events_url":"https://api.github.com/repos/elkarte/Elkarte/issues/2120/events","html_url":"https://github.com/elkarte/Elkarte/issues/2120","id":94291337,"number":2120,"title":"Local moderators may have more power than global","user":{"login":"emanuele45","id":1095308,"avatar_url":"https://avatars.githubusercontent.com/u/1095308?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuele45","html_url":"https://github.com/emanuele45","followers_url":"https://api.github.com/users/emanuele45/followers","following_url":"https://api.github.com/users/emanuele45/following{/other_user}","gists_url":"https://api.github.com/users/emanuele45/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuele45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuele45/subscriptions","organizations_url":"https://api.github.com/users/emanuele45/orgs","repos_url":"https://api.github.com/users/emanuele45/repos","events_url":"https://api.github.com/users/emanuele45/events{/privacy}","received_events_url":"https://api.github.com/users/emanuele45/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elkarte/Elkarte/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/elkarte/Elkarte/labels/easy","name":"easy","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/elkarte/Elkarte/milestones/11","html_url":"https://github.com/elkarte/Elkarte/milestones/1.0.5","labels_url":"https://api.github.com/repos/elkarte/Elkarte/milestones/11/labels","id":1156537,"number":11,"title":"1.0.5","description":"","creator":{"login":"emanuele45","id":1095308,"avatar_url":"https://avatars.githubusercontent.com/u/1095308?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuele45","html_url":"https://github.com/emanuele45","followers_url":"https://api.github.com/users/emanuele45/followers","following_url":"https://api.github.com/users/emanuele45/following{/other_user}","gists_url":"https://api.github.com/users/emanuele45/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuele45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuele45/subscriptions","organizations_url":"https://api.github.com/users/emanuele45/orgs","repos_url":"https://api.github.com/users/emanuele45/repos","events_url":"https://api.github.com/users/emanuele45/events{/privacy}","received_events_url":"https://api.github.com/users/emanuele45/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":1,"state":"open","created_at":"2015-06-09T09:47:51Z","updated_at":"2015-07-10T11:41:52Z","due_on":"2015-09-04T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-07-10T11:41:52Z","updated_at":"2015-07-10T11:41:52Z","closed_at":null,"body":"In particular local moderators are not supposed to pass the verification challenges (in the board they are moderators), while global moderators are.\r\nSee:\r\nhttp://www.elkarte.net/community/index.php?topic=2751.0\r\n\r\nThe problem is due to the fact \"is_mod\" is set based on the local moderator status.\r\nProposed solution:\r\n  * add a new \"is_moderator\" that takes into a ccount permissions (moderate_board) as well,\r\n  * use that new index in $user_info to check for verification\r\n  * phase out is_mod the way it is now"}}