{"action":"opened","issue":{"url":"https://api.github.com/repos/websanova/vue-auth/issues/366","repository_url":"https://api.github.com/repos/websanova/vue-auth","labels_url":"https://api.github.com/repos/websanova/vue-auth/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/websanova/vue-auth/issues/366/comments","events_url":"https://api.github.com/repos/websanova/vue-auth/issues/366/events","html_url":"https://github.com/websanova/vue-auth/issues/366","id":317541212,"number":366,"title":"RolesVar as an Array","user":{"login":"Sephen","id":1425991,"avatar_url":"https://avatars0.githubusercontent.com/u/1425991?v=4","gravatar_id":"","url":"https://api.github.com/users/Sephen","html_url":"https://github.com/Sephen","followers_url":"https://api.github.com/users/Sephen/followers","following_url":"https://api.github.com/users/Sephen/following{/other_user}","gists_url":"https://api.github.com/users/Sephen/gists{/gist_id}","starred_url":"https://api.github.com/users/Sephen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sephen/subscriptions","organizations_url":"https://api.github.com/users/Sephen/orgs","repos_url":"https://api.github.com/users/Sephen/repos","events_url":"https://api.github.com/users/Sephen/events{/privacy}","received_events_url":"https://api.github.com/users/Sephen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-25T09:09:57Z","updated_at":"2018-04-25T09:09:57Z","closed_at":null,"author_association":"NONE","body":"I've got my permissions setup like:\r\n```\r\n...\r\n\"permissions\": [\r\n                \"administrator\",\r\n                \"user\",\r\n                \"guest\"\r\n            ]\r\n...\r\n```\r\nA user can have multiple roles but when i use  `$auth.check(['user'])\"` it cannot find the role/permission. (If it is a single string it works but that is of no use to me)\r\n\r\nHow can i make this work with arrays (or am i doing something wrong)?\r\n"}}
{"actor":{"display_login":"Sephen"}}