{"action":"created","issue":{"url":"https://api.github.com/repos/palasthotel/grid/issues/403","repository_url":"https://api.github.com/repos/palasthotel/grid","labels_url":"https://api.github.com/repos/palasthotel/grid/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/palasthotel/grid/issues/403/comments","events_url":"https://api.github.com/repos/palasthotel/grid/issues/403/events","html_url":"https://github.com/palasthotel/grid/issues/403","id":147346548,"number":403,"title":"User lock timeout","user":{"login":"EdwardBock","id":3862417,"avatar_url":"https://avatars.githubusercontent.com/u/3862417?v=3","gravatar_id":"","url":"https://api.github.com/users/EdwardBock","html_url":"https://github.com/EdwardBock","followers_url":"https://api.github.com/users/EdwardBock/followers","following_url":"https://api.github.com/users/EdwardBock/following{/other_user}","gists_url":"https://api.github.com/users/EdwardBock/gists{/gist_id}","starred_url":"https://api.github.com/users/EdwardBock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EdwardBock/subscriptions","organizations_url":"https://api.github.com/users/EdwardBock/orgs","repos_url":"https://api.github.com/users/EdwardBock/repos","events_url":"https://api.github.com/users/EdwardBock/events{/privacy}","received_events_url":"https://api.github.com/users/EdwardBock/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/palasthotel/grid/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/palasthotel/grid/labels/core","name":"core","color":"DDDDDD"},{"url":"https://api.github.com/repos/palasthotel/grid/labels/feature-request","name":"feature-request","color":"009800"},{"url":"https://api.github.com/repos/palasthotel/grid/labels/prio%201","name":"prio 1","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"mkernel","id":171439,"avatar_url":"https://avatars.githubusercontent.com/u/171439?v=3","gravatar_id":"","url":"https://api.github.com/users/mkernel","html_url":"https://github.com/mkernel","followers_url":"https://api.github.com/users/mkernel/followers","following_url":"https://api.github.com/users/mkernel/following{/other_user}","gists_url":"https://api.github.com/users/mkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/mkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkernel/subscriptions","organizations_url":"https://api.github.com/users/mkernel/orgs","repos_url":"https://api.github.com/users/mkernel/repos","events_url":"https://api.github.com/users/mkernel/events{/privacy}","received_events_url":"https://api.github.com/users/mkernel/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-11T08:01:34Z","updated_at":"2016-04-21T13:56:29Z","closed_at":null,"body":"@mkernel \r\nWe have a Problem with the async service if someone leaves the browser open because nobody else can use that grid from that moment. We need a timeout if a user has stopped working on a grid than loses the locking right."},"comment":{"url":"https://api.github.com/repos/palasthotel/grid/issues/comments/212931360","html_url":"https://github.com/palasthotel/grid/issues/403#issuecomment-212931360","issue_url":"https://api.github.com/repos/palasthotel/grid/issues/403","id":212931360,"user":{"login":"mkernel","id":171439,"avatar_url":"https://avatars.githubusercontent.com/u/171439?v=3","gravatar_id":"","url":"https://api.github.com/users/mkernel","html_url":"https://github.com/mkernel","followers_url":"https://api.github.com/users/mkernel/followers","following_url":"https://api.github.com/users/mkernel/following{/other_user}","gists_url":"https://api.github.com/users/mkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/mkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkernel/subscriptions","organizations_url":"https://api.github.com/users/mkernel/orgs","repos_url":"https://api.github.com/users/mkernel/repos","events_url":"https://api.github.com/users/mkernel/events{/privacy}","received_events_url":"https://api.github.com/users/mkernel/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T13:56:28Z","updated_at":"2016-04-21T13:56:28Z","body":"@EdwardBock i implemented the following logic: if the user is idle for 10 minutes AND there are multiple users on the same grid AND the user is the one having write access: perform a force browser reload. This is the easiest way to handover the lock to another user. \r\nHave a look. "}}