{"action":"created","issue":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1291","labels_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1291/labels{/name}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1291/comments","events_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1291/events","html_url":"https://github.com/openSUSE/open-build-service/issues/1291","id":112794951,"number":1291,"title":"User.can_modify_project? broken for new records","user":{"login":"hennevogel","id":514785,"avatar_url":"https://avatars.githubusercontent.com/u/514785?v=3","gravatar_id":"","url":"https://api.github.com/users/hennevogel","html_url":"https://github.com/hennevogel","followers_url":"https://api.github.com/users/hennevogel/followers","following_url":"https://api.github.com/users/hennevogel/following{/other_user}","gists_url":"https://api.github.com/users/hennevogel/gists{/gist_id}","starred_url":"https://api.github.com/users/hennevogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hennevogel/subscriptions","organizations_url":"https://api.github.com/users/hennevogel/orgs","repos_url":"https://api.github.com/users/hennevogel/repos","events_url":"https://api.github.com/users/hennevogel/events{/privacy}","received_events_url":"https://api.github.com/users/hennevogel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openSUSE/open-build-service/labels/Bug","name":"Bug","color":"eb6420"},{"url":"https://api.github.com/repos/openSUSE/open-build-service/labels/P3","name":"P3","color":"fbca04"},{"url":"https://api.github.com/repos/openSUSE/open-build-service/labels/Regression","name":"Regression","color":"ff00ff"}],"state":"open","locked":false,"assignee":{"login":"bgeuken","id":968949,"avatar_url":"https://avatars.githubusercontent.com/u/968949?v=3","gravatar_id":"","url":"https://api.github.com/users/bgeuken","html_url":"https://github.com/bgeuken","followers_url":"https://api.github.com/users/bgeuken/followers","following_url":"https://api.github.com/users/bgeuken/following{/other_user}","gists_url":"https://api.github.com/users/bgeuken/gists{/gist_id}","starred_url":"https://api.github.com/users/bgeuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgeuken/subscriptions","organizations_url":"https://api.github.com/users/bgeuken/orgs","repos_url":"https://api.github.com/users/bgeuken/repos","events_url":"https://api.github.com/users/bgeuken/events{/privacy}","received_events_url":"https://api.github.com/users/bgeuken/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-10-22T12:43:57Z","updated_at":"2015-10-22T16:34:55Z","closed_at":null,"body":"`User.can_modify_project?` will return true for Projects not yet saved into the database even if I can't create them (if configuration forbids this for instance).\r\n"},"comment":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/comments/150282152","html_url":"https://github.com/openSUSE/open-build-service/issues/1291#issuecomment-150282152","issue_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/1291","id":150282152,"user":{"login":"bgeuken","id":968949,"avatar_url":"https://avatars.githubusercontent.com/u/968949?v=3","gravatar_id":"","url":"https://api.github.com/users/bgeuken","html_url":"https://github.com/bgeuken","followers_url":"https://api.github.com/users/bgeuken/followers","following_url":"https://api.github.com/users/bgeuken/following{/other_user}","gists_url":"https://api.github.com/users/bgeuken/gists{/gist_id}","starred_url":"https://api.github.com/users/bgeuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgeuken/subscriptions","organizations_url":"https://api.github.com/users/bgeuken/orgs","repos_url":"https://api.github.com/users/bgeuken/repos","events_url":"https://api.github.com/users/bgeuken/events{/privacy}","received_events_url":"https://api.github.com/users/bgeuken/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T16:34:55Z","updated_at":"2015-10-22T16:34:55Z","body":"Think I found [it](https://github.com/openSUSE/open-build-service/blob/master/src/api/app/policies/project_policy.rb#L10)."}}