hasAllowedRole doc block fix