{"action":"created","issue":{"url":"https://api.github.com/repos/UltrosBot/Ultros/issues/74","labels_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/74/comments","events_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/74/events","html_url":"https://github.com/UltrosBot/Ultros/issues/74","id":89134534,"number":74,"title":"Support channel ranks in permissions","user":{"login":"gdude2002","id":204153,"avatar_url":"https://avatars.githubusercontent.com/u/204153?v=3","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UltrosBot/Ultros/labels/0%20-%20Planning","name":"0 - Planning","color":"CCCCCC"},{"url":"https://api.github.com/repos/UltrosBot/Ultros/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/UltrosBot/Ultros/labels/Major","name":"Major","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/UltrosBot/Ultros/milestones/2","html_url":"https://github.com/UltrosBot/Ultros/milestones/1.???","labels_url":"https://api.github.com/repos/UltrosBot/Ultros/milestones/2/labels","id":528841,"number":2,"title":"1.???","description":"Features and bugfixes.","creator":{"login":"gdude2002","id":204153,"avatar_url":"https://avatars.githubusercontent.com/u/204153?v=3","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":22,"state":"open","created_at":"2014-01-07T12:48:06Z","updated_at":"2015-06-17T21:46:00Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-17T21:46:00Z","updated_at":"2015-06-18T10:27:44Z","closed_at":null,"body":"It's been a long time coming, and this may be somewhat related to #73, but it's finally time to tackle this. I've got an idea how I want to do this, but I'm going to need some feedback. @rakiru?\r\n\r\n* I think the best way would be to define special groups that align with the channel ranks. For the sake of customizability, higher ranks wouldn't automatically inherit lower ranked-groups - but that could be set up manually, as you currently can.\r\n* I feel like these groups should be part of the command handler stuff - `process_input` could take an argument containing any extra groups to apply to the user, and that could be used during the permissions check\r\n* As an example, I might say that `irc-@` could be the group for channel ops on IRC. I'm not sure how Mumble works - comments?"},"comment":{"url":"https://api.github.com/repos/UltrosBot/Ultros/issues/comments/113101450","html_url":"https://github.com/UltrosBot/Ultros/issues/74#issuecomment-113101450","issue_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/74","id":113101450,"user":{"login":"rakiru","id":569238,"avatar_url":"https://avatars.githubusercontent.com/u/569238?v=3","gravatar_id":"","url":"https://api.github.com/users/rakiru","html_url":"https://github.com/rakiru","followers_url":"https://api.github.com/users/rakiru/followers","following_url":"https://api.github.com/users/rakiru/following{/other_user}","gists_url":"https://api.github.com/users/rakiru/gists{/gist_id}","starred_url":"https://api.github.com/users/rakiru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakiru/subscriptions","organizations_url":"https://api.github.com/users/rakiru/orgs","repos_url":"https://api.github.com/users/rakiru/repos","events_url":"https://api.github.com/users/rakiru/events{/privacy}","received_events_url":"https://api.github.com/users/rakiru/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T10:27:44Z","updated_at":"2015-06-18T10:27:44Z","body":"* Special groups of some sort definitely seem the way to go. It takes the existing system and builds on it, instead of trying to add something entirely new. We may want to reserve some specific prefix for all \"special\" groups such as this, and any others in future. I agree that manual inheritance would be best.\r\n* I'm not entirely sure what you mean by this. Do you mean that these special groups should be passed into the permission check function rather than be tied to User objects somehow like the others? I'll have to think about this in more detail, but ideally they wouldn't be too different from regular groups.\r\n* Other than the prefix suggestion above, this sounds good. Mumble could be done with a group per ACL or something. One concern I have with IRC is that different networks have different prefix characters, but I'm not sure if there's any real way we can abstract that away anyway."}}