{"action":"closed","issue":{"url":"https://api.github.com/repos/IBCNServices/tengu-charms/issues/13","repository_url":"https://api.github.com/repos/IBCNServices/tengu-charms","labels_url":"https://api.github.com/repos/IBCNServices/tengu-charms/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/IBCNServices/tengu-charms/issues/13/comments","events_url":"https://api.github.com/repos/IBCNServices/tengu-charms/issues/13/events","html_url":"https://github.com/IBCNServices/tengu-charms/issues/13","id":170165466,"number":13,"title":"Verify user access in h_api.py","user":{"login":"gvseghbr","id":1955861,"avatar_url":"https://avatars.githubusercontent.com/u/1955861?v=3","gravatar_id":"","url":"https://api.github.com/users/gvseghbr","html_url":"https://github.com/gvseghbr","followers_url":"https://api.github.com/users/gvseghbr/followers","following_url":"https://api.github.com/users/gvseghbr/following{/other_user}","gists_url":"https://api.github.com/users/gvseghbr/gists{/gist_id}","starred_url":"https://api.github.com/users/gvseghbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvseghbr/subscriptions","organizations_url":"https://api.github.com/users/gvseghbr/orgs","repos_url":"https://api.github.com/users/gvseghbr/repos","events_url":"https://api.github.com/users/gvseghbr/events{/privacy}","received_events_url":"https://api.github.com/users/gvseghbr/received_events","type":"User","site_admin":false},"labels":[{"id":377399381,"url":"https://api.github.com/repos/IBCNServices/tengu-charms/labels/bug","name":"bug","color":"ee0701","default":true},{"id":377399387,"url":"https://api.github.com/repos/IBCNServices/tengu-charms/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":{"login":"galgalesh","id":1492981,"avatar_url":"https://avatars.githubusercontent.com/u/1492981?v=3","gravatar_id":"","url":"https://api.github.com/users/galgalesh","html_url":"https://github.com/galgalesh","followers_url":"https://api.github.com/users/galgalesh/followers","following_url":"https://api.github.com/users/galgalesh/following{/other_user}","gists_url":"https://api.github.com/users/galgalesh/gists{/gist_id}","starred_url":"https://api.github.com/users/galgalesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galgalesh/subscriptions","organizations_url":"https://api.github.com/users/galgalesh/orgs","repos_url":"https://api.github.com/users/galgalesh/repos","events_url":"https://api.github.com/users/galgalesh/events{/privacy}","received_events_url":"https://api.github.com/users/galgalesh/received_events","type":"User","site_admin":false},"assignees":[{"login":"galgalesh","id":1492981,"avatar_url":"https://avatars.githubusercontent.com/u/1492981?v=3","gravatar_id":"","url":"https://api.github.com/users/galgalesh","html_url":"https://github.com/galgalesh","followers_url":"https://api.github.com/users/galgalesh/followers","following_url":"https://api.github.com/users/galgalesh/following{/other_user}","gists_url":"https://api.github.com/users/galgalesh/gists{/gist_id}","starred_url":"https://api.github.com/users/galgalesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galgalesh/subscriptions","organizations_url":"https://api.github.com/users/galgalesh/orgs","repos_url":"https://api.github.com/users/galgalesh/repos","events_url":"https://api.github.com/users/galgalesh/events{/privacy}","received_events_url":"https://api.github.com/users/galgalesh/received_events","type":"User","site_admin":false},{"login":"gvseghbr","id":1955861,"avatar_url":"https://avatars.githubusercontent.com/u/1955861?v=3","gravatar_id":"","url":"https://api.github.com/users/gvseghbr","html_url":"https://github.com/gvseghbr","followers_url":"https://api.github.com/users/gvseghbr/followers","following_url":"https://api.github.com/users/gvseghbr/following{/other_user}","gists_url":"https://api.github.com/users/gvseghbr/gists{/gist_id}","starred_url":"https://api.github.com/users/gvseghbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvseghbr/subscriptions","organizations_url":"https://api.github.com/users/gvseghbr/orgs","repos_url":"https://api.github.com/users/gvseghbr/repos","events_url":"https://api.github.com/users/gvseghbr/events{/privacy}","received_events_url":"https://api.github.com/users/gvseghbr/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/IBCNServices/tengu-charms/milestones/1","html_url":"https://github.com/IBCNServices/tengu-charms/milestones/alpha1","labels_url":"https://api.github.com/repos/IBCNServices/tengu-charms/milestones/1/labels","id":1774764,"number":1,"title":"alpha1","description":null,"creator":{"login":"galgalesh","id":1492981,"avatar_url":"https://avatars.githubusercontent.com/u/1492981?v=3","gravatar_id":"","url":"https://api.github.com/users/galgalesh","html_url":"https://github.com/galgalesh","followers_url":"https://api.github.com/users/galgalesh/followers","following_url":"https://api.github.com/users/galgalesh/following{/other_user}","gists_url":"https://api.github.com/users/galgalesh/gists{/gist_id}","starred_url":"https://api.github.com/users/galgalesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galgalesh/subscriptions","organizations_url":"https://api.github.com/users/galgalesh/orgs","repos_url":"https://api.github.com/users/galgalesh/repos","events_url":"https://api.github.com/users/galgalesh/events{/privacy}","received_events_url":"https://api.github.com/users/galgalesh/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":6,"state":"open","created_at":"2016-05-18T19:39:27Z","updated_at":"2016-11-18T10:43:50Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-08-09T13:25:52Z","updated_at":"2016-11-18T10:43:50Z","closed_at":"2016-11-18T10:43:49Z","body":"Currently [h_api.py](https://github.com/IBCNServices/tengu-charms/blob/master/charms/layers/hauchiwa/files/tengu_management/scripts/h_api.py) only checks with Google if the token is a valid token. It then saves the google user id.\nThe code also needs to verify whether the user is allowed access.\nA possible solution, add list of allowed user ids to the service's settings. Fill in this setting first with the user that created the hauchiwa. With this method it is easy to add extra users that can see the model, by simply adding them to the list.\n"}}
{"actor":{"display_login":"galgalesh"}}