You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by sanket shelar <sa...@gmail.com> on 2024/07/23 08:08:53 UTC
Re: Review Request 74603: RANGER-4373: Deleting a role which is already present in policy is giving incorrect message.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74603/
-----------------------------------------------------------
(Updated July 23, 2024, 8:08 a.m.)
Review request for ranger, dinesh akhand, Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-4373
https://issues.apache.org/jira/browse/RANGER-4373
Repository: ranger
Description
-------
In case if a role is already present in policy and we try to delete the role then we are getting message as "data not found" instead of "Role can not be deleted as it is referenced in one or more policies
Diffs (updated)
-----
security-admin/src/main/java/org/apache/ranger/rest/RoleREST.java ec57488d8
security-admin/src/test/java/org/apache/ranger/rest/TestRoleREST.java 74e611cbc
Diff: https://reviews.apache.org/r/74603/diff/2/
Changes: https://reviews.apache.org/r/74603/diff/1-2/
Testing
-------
Tested for role delete scenarios.
Thanks,
sanket shelar