Merge "Return early when the caller doesn't have any permission." into main