[
https://issues.apache.org/jira/browse/RANGER-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pradeep Agrawal updated RANGER-4578:
------------------------------------
Attachment: 0013-RANGER-4578-xuser-groupgroups-and-xuser-groupusers-A.patch
> /xuser/groupgroups and /xuser/groupusers APIs allow creation of entities even
> without groupId / userId fields in the request
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-4578
> URL: https://issues.apache.org/jira/browse/RANGER-4578
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Abhishek
> Assignee: Pradeep Agrawal
> Priority: Major
> Attachments:
> 0013-RANGER-4578-xuser-groupgroups-and-xuser-groupusers-A.patch
>
>
> /xuser/groupgroups and /xuser/groupusers APIs allow creation of entities even
> without groupId / userId fields in the request.
> The typical request payload to create an entity using the /xusers/groupgroups
> API endpoint is :-
> {code:java|bgColor=#f4f5f7}
> {"name": {group_name}, "parentGroupId": {parent_group_id}, "groupId":
> {child_group_id}} {code}
> But if a POST request is performed without the groupId / parentGroupId, still
> the request succeeds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)