devmadhuu opened a new pull request, #5203:
URL: https://github.com/apache/ozone/pull/5203

   ## What changes were proposed in this pull request?
   
   Most of the calls to SCM are only done by the namespace layer 
(OzoneManager), it makes sense to make all the client-facing APIs of SCM to do 
Admin check. SCM should only get calls from namespace service or from admin, it 
cannot get direct calls from a client.
   allocateBlock, deleteBlock and sortDatanodes doesn't have Admin check now. 
If we do Admin check for getContainerWithPipeline, we should also do the same 
in allocateBlock, deleteBlock and sortDatanodes.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-1796
   
   ## How was this patch tested?
   
   This patch is tested with existing Junit test cases of all the updated 
client facing APIs of SCM.
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to