[ 
https://issues.apache.org/jira/browse/RANGER-4541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Prashant Satam updated RANGER-4541:
-----------------------------------
    Description: 
When we create/update RangerDataShareInDataset object we check if current user 
is (dataset admin/datashare admin) this step should be skipped if the current 
user is Ranger-Admin 

Example:

1)From Ranger-Admin account create datashare and shared-resource

2)From USER account create dataset

3)From Ranger-Admin account add the datashare to dataset with status as ACTIVE 
we get error ------->  reason[User  is not an admin for dataset] , But the user 
is Ranger-Admin

4)Expected :  Ranger-Admin should be able to add datashare to dataset in ACTIVE 
status directly 

  was:When we create/update RangerDataShareInDataset object we check if current 
user is (dataset admin/datashare admin) this step should be skipped if the 
current user is Ranger-Admin 


> Ranger admin should be able to make any possible transition in case of 
> RangerDataShareInDataset
> -----------------------------------------------------------------------------------------------
>
>                 Key: RANGER-4541
>                 URL: https://issues.apache.org/jira/browse/RANGER-4541
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Prashant Satam
>            Priority: Major
>
> When we create/update RangerDataShareInDataset object we check if current 
> user is (dataset admin/datashare admin) this step should be skipped if the 
> current user is Ranger-Admin 
> Example:
> 1)From Ranger-Admin account create datashare and shared-resource
> 2)From USER account create dataset
> 3)From Ranger-Admin account add the datashare to dataset with status as 
> ACTIVE we get error ------->  reason[User  is not an admin for dataset] , But 
> the user is Ranger-Admin
> 4)Expected :  Ranger-Admin should be able to add datashare to dataset in 
> ACTIVE status directly 



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

Reply via email to