{"action":"opened","issue":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/283","labels_url":"https://api.github.com/repos/crossbario/crossbar/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/crossbar/issues/283/comments","events_url":"https://api.github.com/repos/crossbario/crossbar/issues/283/events","html_url":"https://github.com/crossbario/crossbar/issues/283","id":65220874,"number":283,"title":"Allow to set WAMP options via router configuration","user":{"login":"oberstet","id":233340,"avatar_url":"https://avatars.githubusercontent.com/u/233340?v=3","gravatar_id":"","url":"https://api.github.com/users/oberstet","html_url":"https://github.com/oberstet","followers_url":"https://api.github.com/users/oberstet/followers","following_url":"https://api.github.com/users/oberstet/following{/other_user}","gists_url":"https://api.github.com/users/oberstet/gists{/gist_id}","starred_url":"https://api.github.com/users/oberstet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oberstet/subscriptions","organizations_url":"https://api.github.com/users/oberstet/orgs","repos_url":"https://api.github.com/users/oberstet/repos","events_url":"https://api.github.com/users/oberstet/events{/privacy}","received_events_url":"https://api.github.com/users/oberstet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/crossbario/crossbar/labels/core","name":"core","color":"009800"},{"url":"https://api.github.com/repos/crossbario/crossbar/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-30T14:12:32Z","updated_at":"2015-03-30T14:12:32Z","closed_at":null,"body":"Allow to configure routers to disclose caller/publisher via configuration.\r\n\r\nWe could solve that like this:\r\n\r\n```json\r\n\"roles\": [\r\n  {\r\n     \"name\": \"anonymous\",\r\n     \"permissions\": [\r\n        {\r\n           \"uri\": \"*\",\r\n           \"publish\": true,\r\n           \"subscribe\": true,\r\n           \"call\": true,\r\n           \"register\": true,\r\n           \"options\": {\r\n              \"disclose_caller\": true,\r\n              \"disclose_publisher\": true\r\n           }\r\n        }\r\n     ]\r\n  }\r\n]\r\n```"}}