{"action":"opened","issue":{"url":"https://api.github.com/repos/toggl/toggldesktop/issues/1773","labels_url":"https://api.github.com/repos/toggl/toggldesktop/issues/1773/labels{/name}","comments_url":"https://api.github.com/repos/toggl/toggldesktop/issues/1773/comments","events_url":"https://api.github.com/repos/toggl/toggldesktop/issues/1773/events","html_url":"https://github.com/toggl/toggldesktop/issues/1773","id":125142371,"number":1773,"title":"Add support for workspace restrictions","user":{"login":"IndrekV","id":842229,"avatar_url":"https://avatars.githubusercontent.com/u/842229?v=3","gravatar_id":"","url":"https://api.github.com/users/IndrekV","html_url":"https://github.com/IndrekV","followers_url":"https://api.github.com/users/IndrekV/followers","following_url":"https://api.github.com/users/IndrekV/following{/other_user}","gists_url":"https://api.github.com/users/IndrekV/gists{/gist_id}","starred_url":"https://api.github.com/users/IndrekV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IndrekV/subscriptions","organizations_url":"https://api.github.com/users/IndrekV/orgs","repos_url":"https://api.github.com/users/IndrekV/repos","events_url":"https://api.github.com/users/IndrekV/events{/privacy}","received_events_url":"https://api.github.com/users/IndrekV/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/toggl/toggldesktop/labels/business","name":"business","color":"bfd4f2"},{"url":"https://api.github.com/repos/toggl/toggldesktop/labels/lib","name":"lib","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/toggl/toggldesktop/milestones/99","html_url":"https://github.com/toggl/toggldesktop/milestones/Milestone%20%23XXX%20-%20It's%20all%20Business","labels_url":"https://api.github.com/repos/toggl/toggldesktop/milestones/99/labels","id":1486743,"number":99,"title":"Milestone #XXX - It's all Business","description":"","creator":{"login":"IndrekV","id":842229,"avatar_url":"https://avatars.githubusercontent.com/u/842229?v=3","gravatar_id":"","url":"https://api.github.com/users/IndrekV","html_url":"https://github.com/IndrekV","followers_url":"https://api.github.com/users/IndrekV/followers","following_url":"https://api.github.com/users/IndrekV/following{/other_user}","gists_url":"https://api.github.com/users/IndrekV/gists{/gist_id}","starred_url":"https://api.github.com/users/IndrekV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IndrekV/subscriptions","organizations_url":"https://api.github.com/users/IndrekV/orgs","repos_url":"https://api.github.com/users/IndrekV/repos","events_url":"https://api.github.com/users/IndrekV/events{/privacy}","received_events_url":"https://api.github.com/users/IndrekV/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-01-06T09:30:59Z","updated_at":"2016-01-06T09:37:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-01-06T09:37:40Z","updated_at":"2016-01-06T09:37:40Z","closed_at":null,"body":"There is one flag described as `Don't not allow saving time without...`\r\n\r\nand 4 setting flags (checkboxes)\r\n```\r\n- Project\r\n- Task\r\n- Tag\r\n- Description\r\n```\r\n\r\nIf the restriction is enabled we need to check if the settings are met when user tries to stop the entry. any of the requirements fail we do not stop the entry and show error message to the user.\r\n"}}