In role_teacher model, individual students can see their own comments but also teacher's ones, whereas individual students' comments cannot be seen by students.
hasPerm = function(label) {
return (-1 != CY.Array.indexOf(sv_user_permissions, label)) ;
}