{"action":"reopened","issue":{"url":"https://api.github.com/repos/instedd/cdx/issues/673","labels_url":"https://api.github.com/repos/instedd/cdx/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/instedd/cdx/issues/673/comments","events_url":"https://api.github.com/repos/instedd/cdx/issues/673/events","html_url":"https://github.com/instedd/cdx/issues/673","id":124987717,"number":673,"title":"Validate the role policy against the \"owner policy\" of the selected institution","user":{"login":"nekron","id":957103,"avatar_url":"https://avatars.githubusercontent.com/u/957103?v=3","gravatar_id":"","url":"https://api.github.com/users/nekron","html_url":"https://github.com/nekron","followers_url":"https://api.github.com/users/nekron/followers","following_url":"https://api.github.com/users/nekron/following{/other_user}","gists_url":"https://api.github.com/users/nekron/gists{/gist_id}","starred_url":"https://api.github.com/users/nekron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekron/subscriptions","organizations_url":"https://api.github.com/users/nekron/orgs","repos_url":"https://api.github.com/users/nekron/repos","events_url":"https://api.github.com/users/nekron/events{/privacy}","received_events_url":"https://api.github.com/users/nekron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/instedd/cdx/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/instedd/cdx/labels/critical","name":"critical","color":"e11d21"},{"url":"https://api.github.com/repos/instedd/cdx/labels/provision","name":"provision","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"spalladino","id":429604,"avatar_url":"https://avatars.githubusercontent.com/u/429604?v=3","gravatar_id":"","url":"https://api.github.com/users/spalladino","html_url":"https://github.com/spalladino","followers_url":"https://api.github.com/users/spalladino/followers","following_url":"https://api.github.com/users/spalladino/following{/other_user}","gists_url":"https://api.github.com/users/spalladino/gists{/gist_id}","starred_url":"https://api.github.com/users/spalladino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalladino/subscriptions","organizations_url":"https://api.github.com/users/spalladino/orgs","repos_url":"https://api.github.com/users/spalladino/repos","events_url":"https://api.github.com/users/spalladino/events{/privacy}","received_events_url":"https://api.github.com/users/spalladino/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/instedd/cdx/milestones/13","html_url":"https://github.com/instedd/cdx/milestones/Release%200.9","labels_url":"https://api.github.com/repos/instedd/cdx/milestones/13/labels","id":1442643,"number":13,"title":"Release 0.9","description":"","creator":{"login":"nekron","id":957103,"avatar_url":"https://avatars.githubusercontent.com/u/957103?v=3","gravatar_id":"","url":"https://api.github.com/users/nekron","html_url":"https://github.com/nekron","followers_url":"https://api.github.com/users/nekron/followers","following_url":"https://api.github.com/users/nekron/following{/other_user}","gists_url":"https://api.github.com/users/nekron/gists{/gist_id}","starred_url":"https://api.github.com/users/nekron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekron/subscriptions","organizations_url":"https://api.github.com/users/nekron/orgs","repos_url":"https://api.github.com/users/nekron/repos","events_url":"https://api.github.com/users/nekron/events{/privacy}","received_events_url":"https://api.github.com/users/nekron/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":2,"state":"open","created_at":"2015-12-03T17:50:49Z","updated_at":"2016-02-01T20:39:24Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-01-05T15:22:48Z","updated_at":"2016-02-01T20:39:24Z","closed_at":null,"body":"When creating a role, the user shouldn't be able to grant himself access to a different institution. Check the created policy against the access automatically granted to an owner of that institution when it's created as an implicit policy."}}