kevdoran commented on a change in pull request #197: NIFIREG-206 Support
anonymous access to public resources
URL: https://github.com/apache/nifi-registry/pull/197#discussion_r293022764
##########
File path:
nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/service/AuthorizationService.java
##########
@@ -461,6 +462,16 @@ public AccessPolicy deleteAccessPolicy(String identifier)
{
.map(AuthorizationService::resourceToDTO)
.collect(Collectors.toList());
+ // add any buckets that have been made public for read requests
Review comment:
I could be missing something, but given that this service is injected with
the authorizer (which should be the new Framework authorizer), shouldn't the
existing code that looks up authorized resources find the publicly accessible
ones? I guess it does not because you added the below and it's not generating
duplicates so I guess my question is really just why doesn't the existing
stream filter work, for my own understanding?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services