{"action":"created","issue":{"url":"https://api.github.com/repos/supnate/rekit/issues/115","repository_url":"https://api.github.com/repos/supnate/rekit","labels_url":"https://api.github.com/repos/supnate/rekit/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/supnate/rekit/issues/115/comments","events_url":"https://api.github.com/repos/supnate/rekit/issues/115/events","html_url":"https://github.com/supnate/rekit/issues/115","id":313059146,"number":115,"title":"Any suggested workflow for protected routers","user":{"login":"tigrankhachikyan","id":16080596,"avatar_url":"https://avatars3.githubusercontent.com/u/16080596?v=4","gravatar_id":"","url":"https://api.github.com/users/tigrankhachikyan","html_url":"https://github.com/tigrankhachikyan","followers_url":"https://api.github.com/users/tigrankhachikyan/followers","following_url":"https://api.github.com/users/tigrankhachikyan/following{/other_user}","gists_url":"https://api.github.com/users/tigrankhachikyan/gists{/gist_id}","starred_url":"https://api.github.com/users/tigrankhachikyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigrankhachikyan/subscriptions","organizations_url":"https://api.github.com/users/tigrankhachikyan/orgs","repos_url":"https://api.github.com/users/tigrankhachikyan/repos","events_url":"https://api.github.com/users/tigrankhachikyan/events{/privacy}","received_events_url":"https://api.github.com/users/tigrankhachikyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-10T19:30:27Z","updated_at":"2018-05-17T04:02:50Z","closed_at":null,"author_association":"NONE","body":"Do you have any suggestions how/where to implement Auth logic?\r\n"},"comment":{"url":"https://api.github.com/repos/supnate/rekit/issues/comments/389737766","html_url":"https://github.com/supnate/rekit/issues/115#issuecomment-389737766","issue_url":"https://api.github.com/repos/supnate/rekit/issues/115","id":389737766,"user":{"login":"supnate","id":481738,"avatar_url":"https://avatars2.githubusercontent.com/u/481738?v=4","gravatar_id":"","url":"https://api.github.com/users/supnate","html_url":"https://github.com/supnate","followers_url":"https://api.github.com/users/supnate/followers","following_url":"https://api.github.com/users/supnate/following{/other_user}","gists_url":"https://api.github.com/users/supnate/gists{/gist_id}","starred_url":"https://api.github.com/users/supnate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supnate/subscriptions","organizations_url":"https://api.github.com/users/supnate/orgs","repos_url":"https://api.github.com/users/supnate/repos","events_url":"https://api.github.com/users/supnate/events{/privacy}","received_events_url":"https://api.github.com/users/supnate/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T04:02:50Z","updated_at":"2018-05-17T04:02:50Z","author_association":"OWNER","body":"@ntomallen Thanks for the sharing. It's really the right place to do the trick. All routing rules are handled in Root component. To protect some route rules, you can filter rules by role, say that we can add a new property in `route.js` of each feature:\r\n```\r\n{ path: 'app/:name/monitoring', component: Monitoring, role: 'admin' },\r\n```\r\nThen filter rules from `this.props.routeConfig` in `render` method of `Root.js`."}}
{"actor":{"display_login":"supnate"}}