jerrypeng opened a new pull request #4644:  Improve and add authorization to 
function download and upload
URL: https://github.com/apache/pulsar/pull/4644
 
 
   ### Motivation
   
   Currently, the download and upload function endpoints do not have any 
authorization which allows any authenticated user to download or upload 
anything.
   
   ### Modifications
   
   For the existing download or upload endpoints, only allow superUsers be able 
to access these endpoints. 
   
   Add a download endpoint with authorization that allows users to download 
function package.  The endpoint takes parameters tenant, namespace, and name.  
Then the latest function package will be returned.
   
   Allow pulsar-admin to use that endpoint as well.
   
   Change KubernetesRuntime to use that as well
   
   Not sure why we have an upload endpoint.  Not really used anywhere.  We 
should probably just remove it in the future.

----------------------------------------------------------------
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

Reply via email to