{"action":"created","issue":{"url":"https://api.github.com/repos/jaredonline/google-authenticator/issues/43","repository_url":"https://api.github.com/repos/jaredonline/google-authenticator","labels_url":"https://api.github.com/repos/jaredonline/google-authenticator/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/jaredonline/google-authenticator/issues/43/comments","events_url":"https://api.github.com/repos/jaredonline/google-authenticator/issues/43/events","html_url":"https://github.com/jaredonline/google-authenticator/issues/43","id":298617800,"number":43,"title":"Use with specific roles?","user":{"login":"nratter","id":3020810,"avatar_url":"https://avatars2.githubusercontent.com/u/3020810?v=4","gravatar_id":"","url":"https://api.github.com/users/nratter","html_url":"https://github.com/nratter","followers_url":"https://api.github.com/users/nratter/followers","following_url":"https://api.github.com/users/nratter/following{/other_user}","gists_url":"https://api.github.com/users/nratter/gists{/gist_id}","starred_url":"https://api.github.com/users/nratter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nratter/subscriptions","organizations_url":"https://api.github.com/users/nratter/orgs","repos_url":"https://api.github.com/users/nratter/repos","events_url":"https://api.github.com/users/nratter/events{/privacy}","received_events_url":"https://api.github.com/users/nratter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T14:40:17Z","updated_at":"2018-02-20T16:35:25Z","closed_at":null,"author_association":"NONE","body":"Is it possible to use this gem for a specific 'role' if I have a single User table with multiple roles?"},"comment":{"url":"https://api.github.com/repos/jaredonline/google-authenticator/issues/comments/367036601","html_url":"https://github.com/jaredonline/google-authenticator/issues/43#issuecomment-367036601","issue_url":"https://api.github.com/repos/jaredonline/google-authenticator/issues/43","id":367036601,"user":{"login":"jaredonline","id":14482,"avatar_url":"https://avatars1.githubusercontent.com/u/14482?v=4","gravatar_id":"","url":"https://api.github.com/users/jaredonline","html_url":"https://github.com/jaredonline","followers_url":"https://api.github.com/users/jaredonline/followers","following_url":"https://api.github.com/users/jaredonline/following{/other_user}","gists_url":"https://api.github.com/users/jaredonline/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredonline/subscriptions","organizations_url":"https://api.github.com/users/jaredonline/orgs","repos_url":"https://api.github.com/users/jaredonline/repos","events_url":"https://api.github.com/users/jaredonline/events{/privacy}","received_events_url":"https://api.github.com/users/jaredonline/received_events","type":"User","site_admin":true},"created_at":"2018-02-20T16:35:25Z","updated_at":"2018-02-20T16:35:25Z","author_association":"OWNER","body":"Yep absolutely. Assuming you're using Rails, you could use [the sample setup](https://github.com/jaredonline/google-authenticator#sample-rails-setup) and just change the `before_filter` to only run on the roles you're looking for"}}
{"actor":{"display_login":"jaredonline"}}