dhavaljrajpara opened a new pull request, #1093: URL: https://github.com/apache/ranger/pull/1093
## What changes were proposed in this pull request? A blank resource type is created when users try to add a new resource type in the global policy creation form. This prevents users from successfully adding resources. It leads to confusion and potential policy errors. Steps to reproduce Login to Ranger Admin with role_admin user. Click on the create new policy button below the Ranger icon on the left-hand side. Follow these steps in the global policy creation form: Step 1 (Service): Select Service Type (Atlas), Service Name (atlas) and click Next. Step 2 (Resources): Add type-category and atlas-service resources. Click Next. Step 3 (Configure Access Rules): Go back to Step 2, delete anyone or both the original resources, and add a new resource type. Observe that a blank resource type gets created. Expected behaviour The resource type drop down should display available options when adding a new resource type. Actual behaviour A blank space is created instead of showing the resource type options when trying to add a new resource type. ## How was this patch tested? 1) Applied the patch locally. 2) Verified that the build completed successfully. 3) Checked that the development server started and worked properly. 4) Performed UI-level sanity testing on the following modules and pages. - Service - Policy - User, Group, Role -- 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]
