{"action":"closed","issue":{"url":"https://api.github.com/repos/operable/cog/issues/125","repository_url":"https://api.github.com/repos/operable/cog","labels_url":"https://api.github.com/repos/operable/cog/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/operable/cog/issues/125/comments","events_url":"https://api.github.com/repos/operable/cog/issues/125/events","html_url":"https://github.com/operable/cog/issues/125","id":130413031,"number":125,"title":"Ensure that permissions mentioned in a rule are in an appropriate namespace","user":{"login":"christophermaier","id":207178,"avatar_url":"https://avatars.githubusercontent.com/u/207178?v=3","gravatar_id":"","url":"https://api.github.com/users/christophermaier","html_url":"https://github.com/christophermaier","followers_url":"https://api.github.com/users/christophermaier/followers","following_url":"https://api.github.com/users/christophermaier/following{/other_user}","gists_url":"https://api.github.com/users/christophermaier/gists{/gist_id}","starred_url":"https://api.github.com/users/christophermaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophermaier/subscriptions","organizations_url":"https://api.github.com/users/christophermaier/orgs","repos_url":"https://api.github.com/users/christophermaier/repos","events_url":"https://api.github.com/users/christophermaier/events{/privacy}","received_events_url":"https://api.github.com/users/christophermaier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/operable/cog/labels/bug","name":"bug","color":"FF4646"},{"url":"https://api.github.com/repos/operable/cog/labels/bundle-upgrades","name":"bundle-upgrades","color":"006b75"},{"url":"https://api.github.com/repos/operable/cog/labels/cog","name":"cog","color":"D0E6FC"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/operable/cog/milestones/10","html_url":"https://github.com/operable/cog/milestones/Cog%200.7.0","labels_url":"https://api.github.com/repos/operable/cog/milestones/10/labels","id":1745730,"number":10,"title":"Cog 0.7.0","description":"","creator":{"login":"kevsmith","id":13558,"avatar_url":"https://avatars.githubusercontent.com/u/13558?v=3","gravatar_id":"","url":"https://api.github.com/users/kevsmith","html_url":"https://github.com/kevsmith","followers_url":"https://api.github.com/users/kevsmith/followers","following_url":"https://api.github.com/users/kevsmith/following{/other_user}","gists_url":"https://api.github.com/users/kevsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/kevsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevsmith/subscriptions","organizations_url":"https://api.github.com/users/kevsmith/orgs","repos_url":"https://api.github.com/users/kevsmith/repos","events_url":"https://api.github.com/users/kevsmith/events{/privacy}","received_events_url":"https://api.github.com/users/kevsmith/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":14,"state":"open","created_at":"2016-05-03T16:53:20Z","updated_at":"2016-05-27T15:13:07Z","due_on":"2016-06-01T04:00:00Z","closed_at":null},"comments":1,"created_at":"2016-02-01T16:37:48Z","updated_at":"2016-05-27T15:13:07Z","closed_at":"2016-05-27T15:13:07Z","body":"Commands should only be managed by permissions from their own bundle, or user-created permissions from the `site` namespace.\r\n\r\nWhen rules are ingested, we should verify that the namespaces for all permissions mentioned are either equal to the mentioned command's bundle, or are `site`.\r\n\r\nBonus points for tooling that can detect this ahead-of-time for bundle authors (in that use case, there should be no `site` permissions mentioned at all, though), but that could come later as an additional enhancement."}}
{"actor":{"display_login":"vanstee"}}