{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/3049","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/3049/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3049/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/3049/events","html_url":"https://github.com/gogits/gogs/pull/3049","id":152536407,"number":3049,"title":"Added Units for repo, access and team. First step of three on #3027.","user":{"login":"lunny","id":81045,"avatar_url":"https://avatars.githubusercontent.com/u/81045?v=3","gravatar_id":"","url":"https://api.github.com/users/lunny","html_url":"https://github.com/lunny","followers_url":"https://api.github.com/users/lunny/followers","following_url":"https://api.github.com/users/lunny/following{/other_user}","gists_url":"https://api.github.com/users/lunny/gists{/gist_id}","starred_url":"https://api.github.com/users/lunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunny/subscriptions","organizations_url":"https://api.github.com/users/lunny/orgs","repos_url":"https://api.github.com/users/lunny/repos","events_url":"https://api.github.com/users/lunny/events{/privacy}","received_events_url":"https://api.github.com/users/lunny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/status/needs%20feedback","name":"status/needs feedback","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-02T11:34:51Z","updated_at":"2016-07-15T09:48:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gogits/gogs/pulls/3049","html_url":"https://github.com/gogits/gogs/pull/3049","diff_url":"https://github.com/gogits/gogs/pull/3049.diff","patch_url":"https://github.com/gogits/gogs/pull/3049.patch"},"body":"For the first step of #3027, we added units for repository, access and team. And it's completely compatible with old repos. And there are no any changes on User's UI.\r\n\r\nThe second, we can change repo's settings page to let user to choose which units admin to want. Code, Issues,  Pulls, Commits, Releases, Wiki, Settings. So the repos' home page will dynamically show the units according the repo's settings.\r\n\r\nThe last step, we will change repo's access and team's access page to dynamically show the units according the user's access."},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/232909056","html_url":"https://github.com/gogits/gogs/pull/3049#issuecomment-232909056","issue_url":"https://api.github.com/repos/gogits/gogs/issues/3049","id":232909056,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T09:48:52Z","updated_at":"2016-07-15T09:48:52Z","body":"What is the advantage doing migration before sync tables?"}}
{"actor":{"display_login":"Unknwon"}}