vyommani opened a new pull request, #1024: URL: https://github.com/apache/ranger/pull/1024
…ms service ## What changes were proposed in this pull request? Added explicit role check in ServiceREST.validateConfig(): ROLE_SYS_ADMIN --> allowed for all services ROLE_KEY_ADMIN --> allowed for KMS services only All other roles --> FORBIDDEN Initial fix caused a regression where KeyAdmin users were unable to test connection for cm_kms service. Fixed by allowing ROLE_KEY_ADMIN access for KMS service types only, verified via service definition implementation class name. ## How was this patch tested? added a new test -- 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]
