[security] Unify Hive privilege templates