RakeshGuptaDev opened a new pull request, #884: URL: https://github.com/apache/ranger/pull/884
## What changes were proposed in this pull request? While creating a Security Zone with a tag service, the operation fails during postCreate execution. The stack trace shows a NonUniqueResultException from XXAccessTypeDefDao.findByNameAndServiceId(), triggered during default policy creation. This issue is caused by duplicate entries in the access type definition tables for the associated service. For example, the following query returns 2 records: select * from x_access_type_def where name = 'ozone:assume_role'; ## How was this patch tested? Verified that duplicate entries in x_access_type_def were removed, after which the Security Zone was created successfully and default policies were generated 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]
