Github user moranr commented on a diff in the pull request:

    https://github.com/apache/nifi-registry/pull/99#discussion_r167249634
  
    --- Diff: 
nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/api/AccessPolicyResource.java
 ---
    @@ -174,7 +174,7 @@ public Response getAccessPolicy(
     
             final AccessPolicy accessPolicy = 
authorizationService.getAccessPolicy(identifier);
             if (accessPolicy == null) {
    -            throw new ResourceNotFoundException("No access policy found 
with ID + " + identifier);
    +            throw new ResourceNotFoundException("The specified access 
policy does not exist for this bucket.");
    --- End diff --
    
    I think that works, we could even add _"...in this registry."_ to end of 
that. It's consistent with the other messages.


---

Reply via email to