Controller class for user roles. Hierarchy class \Drupal\Core\Entity\
public RoleStorage::isPermissionInRoles($permission, array $rids)