Convert a list of permissions to gRPC actions.
List<$p.Action> permissionsToActions(List<T> permissions);