[
https://issues.apache.org/jira/browse/RANGER-4867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867961#comment-17867961
]
Dineshkumar Yadav commented on RANGER-4867:
-------------------------------------------
[~vishalbhavsar] this is similar issue as RANGER-4373. Patch is available at
https://reviews.apache.org/r/74603/diff/1#index_header
Thanks
> Role deletion shows "Data Not Found (400)." page when it is associated with
> some another role
> ---------------------------------------------------------------------------------------------
>
> Key: RANGER-4867
> URL: https://issues.apache.org/jira/browse/RANGER-4867
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.5.0
> Reporter: Vishal Bhavsar
> Assignee: Dineshkumar Yadav
> Priority: Major
> Attachments: Screenshot from 2024-07-22 19-46-56.png
>
>
> Role deletion shows "Data Not Found (400)." page when it is associated with
> some another role.
> Steps to reproduce:
> # Create Role say role1.
> # Create another Role say role2 and associated role1 to it.
> # Now try deleting the role1, we would get "Data Not Found (400)." page. We
> should get alert stating "Role 'role1' can not be deleted as it is referenced
> in one or more other roles".
> Snapshot is attached for reference.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)