{"action":"created","issue":{"url":"https://api.github.com/repos/rgtk/redmine_shady/issues/1","repository_url":"https://api.github.com/repos/rgtk/redmine_shady","labels_url":"https://api.github.com/repos/rgtk/redmine_shady/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rgtk/redmine_shady/issues/1/comments","events_url":"https://api.github.com/repos/rgtk/redmine_shady/issues/1/events","html_url":"https://github.com/rgtk/redmine_shady/issues/1","id":325205174,"number":1,"title":"Forever in shady mode","user":{"login":"11v1","id":36913490,"avatar_url":"https://avatars2.githubusercontent.com/u/36913490?v=4","gravatar_id":"","url":"https://api.github.com/users/11v1","html_url":"https://github.com/11v1","followers_url":"https://api.github.com/users/11v1/followers","following_url":"https://api.github.com/users/11v1/following{/other_user}","gists_url":"https://api.github.com/users/11v1/gists{/gist_id}","starred_url":"https://api.github.com/users/11v1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/11v1/subscriptions","organizations_url":"https://api.github.com/users/11v1/orgs","repos_url":"https://api.github.com/users/11v1/repos","events_url":"https://api.github.com/users/11v1/events{/privacy}","received_events_url":"https://api.github.com/users/11v1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-22T09:11:55Z","updated_at":"2018-05-22T13:56:55Z","closed_at":null,"author_association":"NONE","body":"Hello.\r\n\r\nSteps to reproduce:\r\n1. Turn on \"Use shady mode\" for a role by admin\r\n2. Turn on \"Shady mode\" by user\r\n3. Turn off \"Use shady mode\" for a role by admin\r\nUser is left in Shady mode forever and can't turn it off. The banner at the top of window persists, but \"Cancel\" button triggers error page.\r\nThis is the most unexpectable scenario. I think that it should work in one of two ways:\r\na. Turn off \"Shady mode\" automatically for all users without permission to use it\r\nb. Allow users with turned on \"Shady mode\" to turn it off even whithout \"Use shady mode\" permission."},"comment":{"url":"https://api.github.com/repos/rgtk/redmine_shady/issues/comments/390999775","html_url":"https://github.com/rgtk/redmine_shady/issues/1#issuecomment-390999775","issue_url":"https://api.github.com/repos/rgtk/redmine_shady/issues/1","id":390999775,"user":{"login":"rgtk","id":765841,"avatar_url":"https://avatars1.githubusercontent.com/u/765841?v=4","gravatar_id":"","url":"https://api.github.com/users/rgtk","html_url":"https://github.com/rgtk","followers_url":"https://api.github.com/users/rgtk/followers","following_url":"https://api.github.com/users/rgtk/following{/other_user}","gists_url":"https://api.github.com/users/rgtk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgtk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgtk/subscriptions","organizations_url":"https://api.github.com/users/rgtk/orgs","repos_url":"https://api.github.com/users/rgtk/repos","events_url":"https://api.github.com/users/rgtk/events{/privacy}","received_events_url":"https://api.github.com/users/rgtk/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T13:56:55Z","updated_at":"2018-05-22T13:56:55Z","author_association":"OWNER","body":"Good catch. Fixed.\r\n\r\nCheckout branch `shady-fore`: https://github.com/rgtk/redmine_shady/tree/shady-fore\r\n\r\nLet me know if it works for you and I will merge it to master, for posterity."}}
{"actor":{"display_login":"rgtk"}}