Abhishek created RANGER-4578:
--------------------------------
Summary: /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
/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)