g_user.hasRole is returning false if users have external rolesIssue g_user.hasRole returns false when users possess external roles. For instance, if a user has both external roles such as snc_external or sn_customerservice.customer, along with an internal role like 'ITIL', the g_user.hasRole function for 'itil' will return false, despite the user actually having that role.CausehasRoles() method returns false because the system considers external users to be without a roleResolutionEven if the users possess internal roles, the function g_user.hasRoles is indicating false, likely because they also have external roles. For instance, if a user has roles such as snc_external or sn_customerservice.customer along with any internal role like 'ITIL', the function will still return false. This happens because the system perceives the user as external due to their possession of an external role, and therefore, without any role.Related LinksAccess control list rules Explicit Roles KB0965712: Role Management FAQ