diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 138fdeb..7a066e4 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,9 +4,9 @@
-
+
-
+
@@ -153,7 +153,6 @@
-
@@ -178,7 +177,8 @@
-
+
+
true
diff --git a/pkg/internal/services/perms.go b/pkg/internal/services/perms.go
index 55ebb1e..5662b7f 100644
--- a/pkg/internal/services/perms.go
+++ b/pkg/internal/services/perms.go
@@ -26,7 +26,11 @@ func ComparePermNode(held any, required any) bool {
requiredValue := reflect.ValueOf(required)
switch heldValue.Kind() {
- case reflect.Int, reflect.Float64:
+ case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
+ if heldValue.Int() >= requiredValue.Int() {
+ return true
+ }
+ case reflect.Float32, reflect.Float64:
if heldValue.Float() >= requiredValue.Float() {
return true
}