Prefer new allow syntax for consistency

[#62482050]

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>