RBAC: Exception on unknown resource types
Set up:
1. config.yml with rbac and resource like "audit"
2. If the older image is used where the feature is not present, it will fail with the following exception:
```
Caused by: java.lang.NullPointerException: Cannot invoke "com.provectus.kafka.ui.model.rbac.Resource.ordinal()" because "this.resource" is null
	at com.provectus.kafka.ui.model.rbac.Permission.getAllActionValues(Permission.java:72)
	at com.provectus.kafka.ui.model.rbac.Permission.transform(Permission.java:67)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at com.provectus.kafka.ui.model.rbac.Role.validate(Role.java:15)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at com.provectus.kafka.ui.config.auth.RoleBasedAccessControlProperties.init(RoleBasedAccessControlProperties.java:16)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:425)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:369)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:193)
	... 53 common frames omitted
```
kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java
kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java
diff --git a/kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java b/kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java
index dd456400da5..56b0a098026 100644
--- a/kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java
+++ b/kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java
@@ -16,6 +16,7 @@
 import com.provectus.kafka.ui.model.rbac.permission.SchemaAction;
 import com.provectus.kafka.ui.model.rbac.permission.TopicAction;
 import java.util.Arrays;
+import java.util.Collections;
 import java.util.List;
 import java.util.regex.Pattern;
 import javax.annotation.Nullable;
@@ -73,6 +74,10 @@ public void transform() {
   }
 
   private List<String> getAllActionValues() {
+    if (resource == null) {
+      return Collections.emptyList();
+    }
+
     return switch (this.resource) {
       case APPLICATIONCONFIG -> Arrays.stream(ApplicationConfigAction.values()).map(Enum::toString).toList();
       case CLUSTERCONFIG -> Arrays.stream(ClusterConfigAction.values()).map(Enum::toString).toList();
