{"action":"opened","issue":{"url":"https://api.github.com/repos/SavelyAB/Savely-Web/issues/13","repository_url":"https://api.github.com/repos/SavelyAB/Savely-Web","labels_url":"https://api.github.com/repos/SavelyAB/Savely-Web/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/SavelyAB/Savely-Web/issues/13/comments","events_url":"https://api.github.com/repos/SavelyAB/Savely-Web/issues/13/events","html_url":"https://github.com/SavelyAB/Savely-Web/issues/13","id":274438529,"number":13,"title":"User permission levels","user":{"login":"threezool","id":7039347,"avatar_url":"https://avatars1.githubusercontent.com/u/7039347?v=4","gravatar_id":"","url":"https://api.github.com/users/threezool","html_url":"https://github.com/threezool","followers_url":"https://api.github.com/users/threezool/followers","following_url":"https://api.github.com/users/threezool/following{/other_user}","gists_url":"https://api.github.com/users/threezool/gists{/gist_id}","starred_url":"https://api.github.com/users/threezool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threezool/subscriptions","organizations_url":"https://api.github.com/users/threezool/orgs","repos_url":"https://api.github.com/users/threezool/repos","events_url":"https://api.github.com/users/threezool/events{/privacy}","received_events_url":"https://api.github.com/users/threezool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Uzza","id":266368,"avatar_url":"https://avatars2.githubusercontent.com/u/266368?v=4","gravatar_id":"","url":"https://api.github.com/users/Uzza","html_url":"https://github.com/Uzza","followers_url":"https://api.github.com/users/Uzza/followers","following_url":"https://api.github.com/users/Uzza/following{/other_user}","gists_url":"https://api.github.com/users/Uzza/gists{/gist_id}","starred_url":"https://api.github.com/users/Uzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Uzza/subscriptions","organizations_url":"https://api.github.com/users/Uzza/orgs","repos_url":"https://api.github.com/users/Uzza/repos","events_url":"https://api.github.com/users/Uzza/events{/privacy}","received_events_url":"https://api.github.com/users/Uzza/received_events","type":"User","site_admin":false},"assignees":[{"login":"Uzza","id":266368,"avatar_url":"https://avatars2.githubusercontent.com/u/266368?v=4","gravatar_id":"","url":"https://api.github.com/users/Uzza","html_url":"https://github.com/Uzza","followers_url":"https://api.github.com/users/Uzza/followers","following_url":"https://api.github.com/users/Uzza/following{/other_user}","gists_url":"https://api.github.com/users/Uzza/gists{/gist_id}","starred_url":"https://api.github.com/users/Uzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Uzza/subscriptions","organizations_url":"https://api.github.com/users/Uzza/orgs","repos_url":"https://api.github.com/users/Uzza/repos","events_url":"https://api.github.com/users/Uzza/events{/privacy}","received_events_url":"https://api.github.com/users/Uzza/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/SavelyAB/Savely-Web/milestones/1","html_url":"https://github.com/SavelyAB/Savely-Web/milestone/1","labels_url":"https://api.github.com/repos/SavelyAB/Savely-Web/milestones/1/labels","id":2825893,"number":1,"title":"MVP Release","description":"The first version of Savely to be released.","creator":{"login":"threezool","id":7039347,"avatar_url":"https://avatars1.githubusercontent.com/u/7039347?v=4","gravatar_id":"","url":"https://api.github.com/users/threezool","html_url":"https://github.com/threezool","followers_url":"https://api.github.com/users/threezool/followers","following_url":"https://api.github.com/users/threezool/following{/other_user}","gists_url":"https://api.github.com/users/threezool/gists{/gist_id}","starred_url":"https://api.github.com/users/threezool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threezool/subscriptions","organizations_url":"https://api.github.com/users/threezool/orgs","repos_url":"https://api.github.com/users/threezool/repos","events_url":"https://api.github.com/users/threezool/events{/privacy}","received_events_url":"https://api.github.com/users/threezool/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2017-10-09T21:48:41Z","updated_at":"2017-11-16T08:56:54Z","due_on":"2017-11-30T08:00:00Z","closed_at":null},"comments":0,"created_at":"2017-11-16T08:56:53Z","updated_at":"2017-11-16T08:56:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The API should incorporate a persmission system and base it on three levels:\r\n\r\n- Admin (access to raw data from the API like all users and their information etc)\r\n- Guardian (have access to a connected normal user information)\r\n- Normal (Can only access information about itself and related data)\r\n\r\nThe API should be structured around this so the WishList endpoints will have GetWishList that a Normal account have access to. Then there should be a elevated endpoint for Guardian accounts like GetConnectedUsersWishList that only Guardian accounts or above have access to.\r\n\r\nThen lastly There should be Admin endpoints (separate Controller?) that can get all users, edit them and same with WishList so that administrators can look at the data and modify if needed."}}
{"actor":{"display_login":"threezool"}}