[ 
https://issues.apache.org/jira/browse/RANGER-4644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17814846#comment-17814846
 ] 

Abhishek commented on RANGER-4644:
----------------------------------

Hi [~madhan] ,
Can you please let me know if there is any particular reason why the GDS 
servicedef is restricted from being fetched in the "/plugins/definitions" 
endpoint?
Reference :- 
[https://github.com/apache/ranger/blob/834c211c6d95b6c20399d21535dda5010740383e/security-admin/src/main/java/org/apache/ranger/service/RangerServiceDefServiceBase.java#L627]

The issue mentioned in the Jira is taking place because, during the rendering 
of the policy details popup in the UI (from the access audits), a request is 
being made to "plugins/defintions" endpoint to find the servicedef for the GDS 
policy,
and the response does not contain the GDS servicedef, which leads to an error 
on the UI.

Thank you

> [Ranger UI] Clicking on the policy Id in the access audits (audits related to 
> gds) leads to an error
> ----------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-4644
>                 URL: https://issues.apache.org/jira/browse/RANGER-4644
>             Project: Ranger
>          Issue Type: Sub-task
>          Components: admin, Ranger
>            Reporter: Abhishek
>            Assignee: Abhishek
>            Priority: Major
>              Labels: ranger-react
>         Attachments: Screenshot 2024-01-11 at 1.43.43 AM.png
>
>
> In the GDS access audits, if the user clicks on the policy id of a particular 
> audit, then it leads to an error.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to