bhaveshamre opened a new pull request, #910: URL: https://github.com/apache/ranger/pull/910
## What changes were proposed in this pull request? Added missing dependencies (guava, failureaccess, protobuf-java) Fixed unnecessary master key creation by introducing masterKeyExists() Implemented role-based logic: Owner → creates key only if not exists Viewer → only checks existence, no creation ## How was this patch tested? Built successfully using mvn clean compile package install. Manual testing was performed across multiple scenarios: when using the Owner role with a new key, the key was created successfully; with an existing key, no creation was attempted. For the Viewer role, the system correctly performed only existence checks for an existing key without attempting creation, and for a new key, no creation was attempted, resulting in a permission denied error as expected. -- 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]
