{"action":"created","issue":{"url":"https://api.github.com/repos/santigarcor/laratrust/issues/308","repository_url":"https://api.github.com/repos/santigarcor/laratrust","labels_url":"https://api.github.com/repos/santigarcor/laratrust/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/santigarcor/laratrust/issues/308/comments","events_url":"https://api.github.com/repos/santigarcor/laratrust/issues/308/events","html_url":"https://github.com/santigarcor/laratrust/issues/308","id":363394801,"node_id":"MDU6SXNzdWUzNjMzOTQ4MDE=","number":308,"title":"$user->hasRoles('superadministrator') return false","user":{"login":"shahiran12395","id":17264574,"node_id":"MDQ6VXNlcjE3MjY0NTc0","avatar_url":"https://avatars2.githubusercontent.com/u/17264574?v=4","gravatar_id":"","url":"https://api.github.com/users/shahiran12395","html_url":"https://github.com/shahiran12395","followers_url":"https://api.github.com/users/shahiran12395/followers","following_url":"https://api.github.com/users/shahiran12395/following{/other_user}","gists_url":"https://api.github.com/users/shahiran12395/gists{/gist_id}","starred_url":"https://api.github.com/users/shahiran12395/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahiran12395/subscriptions","organizations_url":"https://api.github.com/users/shahiran12395/orgs","repos_url":"https://api.github.com/users/shahiran12395/repos","events_url":"https://api.github.com/users/shahiran12395/events{/privacy}","received_events_url":"https://api.github.com/users/shahiran12395/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-25T03:17:50Z","updated_at":"2018-10-01T12:59:56Z","closed_at":null,"author_association":"NONE","body":"Hi. My application keep give me false value when i try to check user roles in controller. Any advice why this thing keep return false and how to fix it"},"comment":{"url":"https://api.github.com/repos/santigarcor/laratrust/issues/comments/425898422","html_url":"https://github.com/santigarcor/laratrust/issues/308#issuecomment-425898422","issue_url":"https://api.github.com/repos/santigarcor/laratrust/issues/308","id":425898422,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTg5ODQyMg==","user":{"login":"santigarcor","id":7565417,"node_id":"MDQ6VXNlcjc1NjU0MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/7565417?v=4","gravatar_id":"","url":"https://api.github.com/users/santigarcor","html_url":"https://github.com/santigarcor","followers_url":"https://api.github.com/users/santigarcor/followers","following_url":"https://api.github.com/users/santigarcor/following{/other_user}","gists_url":"https://api.github.com/users/santigarcor/gists{/gist_id}","starred_url":"https://api.github.com/users/santigarcor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santigarcor/subscriptions","organizations_url":"https://api.github.com/users/santigarcor/orgs","repos_url":"https://api.github.com/users/santigarcor/repos","events_url":"https://api.github.com/users/santigarcor/events{/privacy}","received_events_url":"https://api.github.com/users/santigarcor/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T12:59:56Z","updated_at":"2018-10-01T12:59:56Z","author_association":"OWNER","body":"It looks fine, if you followed the setup guide it i think your problem could be in the database. Maybe that specific user has not attached that role."}}
{"actor":{"display_login":"santigarcor"}}