[
https://issues.apache.org/jira/browse/RANGER-4671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prashant Satam updated RANGER-4671:
-----------------------------------
Attachment: Regression.png
> Noticed a change in Behaviour of DatasetInDataShare Object for 2 cases
> ----------------------------------------------------------------------
>
> Key: RANGER-4671
> URL: https://issues.apache.org/jira/browse/RANGER-4671
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Reporter: Prashant Satam
> Assignee: Prashant Satam
> Priority: Major
> Attachments: Regression-Behaviour.png, Regression.png,
> image-2024-01-23-12-20-46-315.png
>
>
> There was change in behaviour of DatasetInDataShare Object for below
> mentioned 2 cases
> case 1 :
> 1) create a user with Ranger ROLE as ROLE_USER
> 2)create a dataShare with the same user's account so the user will be
> dataShare Admin
> 3)create a dataset the above user should be absent in dataset ACL
> 4)create DatasetInDataShare object for these dataset,dataShare with status as
> ACTIVE
> 5)update this DatasetInDataShare object by the above created user's account
> change the status from ACTIVE to GRANTED the response is 200 expected
> response is 400 with validation message stating (Not a ADMIN for dataset)
> case 2:
> 1) create a user with Ranger ROLE as ROLE_USER
> 2)create a dataShare with the same user's account so the user will be
> dataShare Admin
> 3)create a dataset the above user should be absent in dataset ACL
> 4)create DatasetInDataShare object for these dataset,dataShare with status as
> ACTIVE
> 5)update this DatasetInDataShare object by the above created user's account
> change the status from ACTIVE to DENIED the response is 200 expected response
> is 400 with validation message stating (Not a ADMIN for dataset)
>
> !image-2024-01-23-12-20-46-315.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)