{"action":"opened","issue":{"url":"https://api.github.com/repos/Ma27/SenNetwork/issues/106","labels_url":"https://api.github.com/repos/Ma27/SenNetwork/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/Ma27/SenNetwork/issues/106/comments","events_url":"https://api.github.com/repos/Ma27/SenNetwork/issues/106/events","html_url":"https://github.com/Ma27/SenNetwork/issues/106","id":80884532,"number":106,"title":"refactor UserService","user":{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Ma27/SenNetwork/labels/refactor","name":"refactor","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Ma27/SenNetwork/milestones/1","html_url":"https://github.com/Ma27/SenNetwork/milestones/v1","labels_url":"https://api.github.com/repos/Ma27/SenNetwork/milestones/1/labels","id":867015,"number":1,"title":"v1","description":"the v1 is a milestone which contains a first usable implementation with the basic functions","creator":{"login":"Ma27","id":6025220,"avatar_url":"https://avatars.githubusercontent.com/u/6025220?v=3","gravatar_id":"","url":"https://api.github.com/users/Ma27","html_url":"https://github.com/Ma27","followers_url":"https://api.github.com/users/Ma27/followers","following_url":"https://api.github.com/users/Ma27/following{/other_user}","gists_url":"https://api.github.com/users/Ma27/gists{/gist_id}","starred_url":"https://api.github.com/users/Ma27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ma27/subscriptions","organizations_url":"https://api.github.com/users/Ma27/orgs","repos_url":"https://api.github.com/users/Ma27/repos","events_url":"https://api.github.com/users/Ma27/events{/privacy}","received_events_url":"https://api.github.com/users/Ma27/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":56,"state":"open","created_at":"2014-11-14T18:26:01Z","updated_at":"2015-05-26T09:42:50Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-05-26T09:42:50Z","updated_at":"2015-05-26T09:42:50Z","closed_at":null,"body":"the user service has dependencies to doctrine.\r\nthe user should get roles before the registration. But if these roles doesn't exist they will be created using the UserService which is not a good solution.\r\n\r\nWe need to create a RoleRepository contract that handles these tasks and can be applied in the user service"}}