{"action":"closed","issue":{"url":"https://api.github.com/repos/miconblog/devcafe/issues/9","labels_url":"https://api.github.com/repos/miconblog/devcafe/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/miconblog/devcafe/issues/9/comments","events_url":"https://api.github.com/repos/miconblog/devcafe/issues/9/events","html_url":"https://github.com/miconblog/devcafe/issues/9","id":79235461,"number":9,"title":"회사가 새로 등록되면 해당 회사 회원의 도메인을 가지고 있는 무소속 회원은 자동으로 회사에 소속이 되야한다. ","user":{"login":"miconblog","id":1381312,"avatar_url":"https://avatars.githubusercontent.com/u/1381312?v=3","gravatar_id":"","url":"https://api.github.com/users/miconblog","html_url":"https://github.com/miconblog","followers_url":"https://api.github.com/users/miconblog/followers","following_url":"https://api.github.com/users/miconblog/following{/other_user}","gists_url":"https://api.github.com/users/miconblog/gists{/gist_id}","starred_url":"https://api.github.com/users/miconblog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miconblog/subscriptions","organizations_url":"https://api.github.com/users/miconblog/orgs","repos_url":"https://api.github.com/users/miconblog/repos","events_url":"https://api.github.com/users/miconblog/events{/privacy}","received_events_url":"https://api.github.com/users/miconblog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/miconblog/devcafe/labels/%EA%B3%84%ED%9A%8D%EB%90%9C%20%EA%B8%B0%EB%8A%A5","name":"계획된 기능","color":"0052cc"}],"state":"closed","locked":false,"assignee":{"login":"miconblog","id":1381312,"avatar_url":"https://avatars.githubusercontent.com/u/1381312?v=3","gravatar_id":"","url":"https://api.github.com/users/miconblog","html_url":"https://github.com/miconblog","followers_url":"https://api.github.com/users/miconblog/followers","following_url":"https://api.github.com/users/miconblog/following{/other_user}","gists_url":"https://api.github.com/users/miconblog/gists{/gist_id}","starred_url":"https://api.github.com/users/miconblog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miconblog/subscriptions","organizations_url":"https://api.github.com/users/miconblog/orgs","repos_url":"https://api.github.com/users/miconblog/repos","events_url":"https://api.github.com/users/miconblog/events{/privacy}","received_events_url":"https://api.github.com/users/miconblog/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/miconblog/devcafe/milestones/1","html_url":"https://github.com/miconblog/devcafe/milestones/MVP%20v0.1.0","labels_url":"https://api.github.com/repos/miconblog/devcafe/milestones/1/labels","id":1110150,"number":1,"title":"MVP v0.1.0","description":"- 회원가입시 패스워드를 변경할 수 있어야한다.\r\n- 회원 가입후 게시판에 글을 쓸 수 있어야한다. \r\n- 모든 회원은 접근 가능한 게시판이 최소 2개 이상 존재 해야한다.\r\n  - 전체 게시판과 사내 게시판  \r\n- MVP 버전은 SPA가 아니라 전통적인 서버 라우팅을 이용한다. ","creator":{"login":"miconblog","id":1381312,"avatar_url":"https://avatars.githubusercontent.com/u/1381312?v=3","gravatar_id":"","url":"https://api.github.com/users/miconblog","html_url":"https://github.com/miconblog","followers_url":"https://api.github.com/users/miconblog/followers","following_url":"https://api.github.com/users/miconblog/following{/other_user}","gists_url":"https://api.github.com/users/miconblog/gists{/gist_id}","starred_url":"https://api.github.com/users/miconblog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miconblog/subscriptions","organizations_url":"https://api.github.com/users/miconblog/orgs","repos_url":"https://api.github.com/users/miconblog/repos","events_url":"https://api.github.com/users/miconblog/events{/privacy}","received_events_url":"https://api.github.com/users/miconblog/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":14,"state":"open","created_at":"2015-05-14T12:41:12Z","updated_at":"2015-07-01T15:54:14Z","due_on":"2015-06-21T15:00:00Z","closed_at":null},"comments":0,"created_at":"2015-05-22T01:37:10Z","updated_at":"2015-07-01T15:54:14Z","closed_at":"2015-07-01T15:54:14Z","body":"1. 회사에 소속되지않은 무소속 회원(이메일)일 경우\r\n - 모두가 볼수있는 게시판만 보임. \r\n\r\n2. 회사에 소속된 회원일 경우 \r\n - 1번 + 회사 게시판도 보임\r\n\r\n3. 무소속 회원들은 새로운 회사가 등록될때 소속을 자동으로 옮겨줘야한다. \r\n - 새로운 회사가 등록될때마다 무소속 회원들을 긁어서 같은 이메일 도메인을 가지고 있는지 확인해서 멤버 모델에 companyId를 설정해주면 될듯.\r\n\r\n부록, 무소속 회원들이 회사를 만들어 달라고 요청하는 게시판도 따로 있어야할듯..\r\n그 게시판에서 같은 도메인으로 가입한 사람이 좋아요를 누르고 5개 이상이면 게시판 생성되는 프로세스면 어떨까 싶음. "}}