{"action":"opened","issue":{"url":"https://api.github.com/repos/marein/php-gambling-website/issues/13","repository_url":"https://api.github.com/repos/marein/php-gambling-website","labels_url":"https://api.github.com/repos/marein/php-gambling-website/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/marein/php-gambling-website/issues/13/comments","events_url":"https://api.github.com/repos/marein/php-gambling-website/issues/13/events","html_url":"https://github.com/marein/php-gambling-website/issues/13","id":302867001,"number":13,"title":"Disable controls if user isn't able to perform the action","user":{"login":"marein","id":1128786,"avatar_url":"https://avatars1.githubusercontent.com/u/1128786?v=4","gravatar_id":"","url":"https://api.github.com/users/marein","html_url":"https://github.com/marein","followers_url":"https://api.github.com/users/marein/followers","following_url":"https://api.github.com/users/marein/following{/other_user}","gists_url":"https://api.github.com/users/marein/gists{/gist_id}","starred_url":"https://api.github.com/users/marein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marein/subscriptions","organizations_url":"https://api.github.com/users/marein/orgs","repos_url":"https://api.github.com/users/marein/repos","events_url":"https://api.github.com/users/marein/events{/privacy}","received_events_url":"https://api.github.com/users/marein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T21:10:17Z","updated_at":"2018-03-06T21:10:17Z","closed_at":null,"author_association":"OWNER","body":"__Problem description__\r\nCurrently the invariants are only captured on the server. Following needs to be done in the web interface.\r\n\r\n- [ ] Disable button in game list if a player joined a game or aborted a game.\r\n- [ ] Disable resign game button in game view if the game isn't resignable or the current user is not a player within that game.\r\n- [ ] Disable abort game button in game view if the game isn't resignable or the current user is not a player within that game.\r\n- [ ] Disable the fields in the game view if it's not the players turn or the current user is not a player within that game."}}
{"actor":{"display_login":"marein"}}