diff --git a/pkg/nex/sec/perms.go b/pkg/nex/sec/perms.go index 14ec172..67e9dba 100644 --- a/pkg/nex/sec/perms.go +++ b/pkg/nex/sec/perms.go @@ -44,7 +44,7 @@ func comparePermNode(held any, required any) bool { if isNumeric(requiredValue) && heldValue.Kind() == reflect.String { numericValue, _ := strconv.ParseFloat(heldValue.String(), 64) - return toFloat64(requiredValue) >= numericValue + return numericValue >= toFloat64(requiredValue) } switch heldValue.Kind() {