method Identity::hasRole()
set identity accept array
view helper hasRole()