Github user mcgilman commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2693#discussion_r187999206
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/authorization/StandardAuthorizableLookup.java
---
@@ -493,10 +493,6 @@ public Authorizable getAuthorizableFromResource(String
resource) {
}
}
- if (resourceType == null) {
--- End diff --
I see. It looks like this is unreachable and resourceType will never be
null. However, it appears to be a minor bug. I'll propose a minor edit or file
a separate follow up JIRA for this.
---