{"action":"created","issue":{"url":"https://api.github.com/repos/tavendo/WAMP/issues/134","labels_url":"https://api.github.com/repos/tavendo/WAMP/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/tavendo/WAMP/issues/134/comments","events_url":"https://api.github.com/repos/tavendo/WAMP/issues/134/events","html_url":"https://github.com/tavendo/WAMP/issues/134","id":57631296,"number":134,"title":"Ability to whitelist by authid","user":{"login":"mbonneau","id":748287,"avatar_url":"https://avatars.githubusercontent.com/u/748287?v=3","gravatar_id":"","url":"https://api.github.com/users/mbonneau","html_url":"https://github.com/mbonneau","followers_url":"https://api.github.com/users/mbonneau/followers","following_url":"https://api.github.com/users/mbonneau/following{/other_user}","gists_url":"https://api.github.com/users/mbonneau/gists{/gist_id}","starred_url":"https://api.github.com/users/mbonneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbonneau/subscriptions","organizations_url":"https://api.github.com/users/mbonneau/orgs","repos_url":"https://api.github.com/users/mbonneau/repos","events_url":"https://api.github.com/users/mbonneau/events{/privacy}","received_events_url":"https://api.github.com/users/mbonneau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tavendo/WAMP/labels/WAMPv2%20Advanced%20Profile","name":"WAMPv2 Advanced Profile","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-13T17:54:02Z","updated_at":"2015-02-13T19:31:53Z","closed_at":null,"body":"I would like to see a feature that would allow whitelisting by authid or authrole.\r\n\r\nThere are so many instances when applications would like to whitelist based on user. In order to do this they have to keep a map of which sessions belong to which authid. In order to remove this duplication of effort, it could just be built into the router."},"comment":{"url":"https://api.github.com/repos/tavendo/WAMP/issues/comments/74312168","html_url":"https://github.com/tavendo/WAMP/issues/134#issuecomment-74312168","issue_url":"https://api.github.com/repos/tavendo/WAMP/issues/134","id":74312168,"user":{"login":"mbonneau","id":748287,"avatar_url":"https://avatars.githubusercontent.com/u/748287?v=3","gravatar_id":"","url":"https://api.github.com/users/mbonneau","html_url":"https://github.com/mbonneau","followers_url":"https://api.github.com/users/mbonneau/followers","following_url":"https://api.github.com/users/mbonneau/following{/other_user}","gists_url":"https://api.github.com/users/mbonneau/gists{/gist_id}","starred_url":"https://api.github.com/users/mbonneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbonneau/subscriptions","organizations_url":"https://api.github.com/users/mbonneau/orgs","repos_url":"https://api.github.com/users/mbonneau/repos","events_url":"https://api.github.com/users/mbonneau/events{/privacy}","received_events_url":"https://api.github.com/users/mbonneau/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T19:31:53Z","updated_at":"2015-02-13T19:31:53Z","body":"@Paranaix \r\n\r\nI don't think of this feature so much as a security/authorization feature, but as a way to send events to specific subscribers/roles, or block specific subscribers/roles from receiving it.\r\n\r\nA use case would be to subscribe to a private message URI that gets published to using an authid white list.\r\n\r\n@oberstet -\r\n\r\nAs far as this relates to #99, having any whitelisted role would make you eligible except that belonging to any blacklisted role would override that. I do see how this behavior would complicate things when you have multiple authroles. I am, however, still in favor of multiple authroles."}}