{"action":"closed","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctorj/issues/393","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctorj/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctorj/issues/393/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctorj/issues/393/events","html_url":"https://github.com/asciidoctor/asciidoctorj/issues/393","id":114424160,"number":393,"title":"ContentNode.hasRole() always returns false if multiple roles are present on a node.","user":{"login":"robertpanzer","id":1163662,"avatar_url":"https://avatars.githubusercontent.com/u/1163662?v=3","gravatar_id":"","url":"https://api.github.com/users/robertpanzer","html_url":"https://github.com/robertpanzer","followers_url":"https://api.github.com/users/robertpanzer/followers","following_url":"https://api.github.com/users/robertpanzer/following{/other_user}","gists_url":"https://api.github.com/users/robertpanzer/gists{/gist_id}","starred_url":"https://api.github.com/users/robertpanzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertpanzer/subscriptions","organizations_url":"https://api.github.com/users/robertpanzer/orgs","repos_url":"https://api.github.com/users/robertpanzer/repos","events_url":"https://api.github.com/users/robertpanzer/events{/privacy}","received_events_url":"https://api.github.com/users/robertpanzer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-31T17:54:08Z","updated_at":"2015-11-01T17:01:15Z","closed_at":"2015-11-01T17:01:15Z","body":"ContentNode.hasRole() unfortunately maps to `role?` which returns true if the given string exactly matches the `role` attribute.\r\nInstead it should map to `has_role?` which returns true if the given role is part of the attribute."}}