[
https://issues.apache.org/jira/browse/RANGER-4541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789613#comment-17789613
]
Madhan Neethiraj commented on RANGER-4541:
------------------------------------------
{noformat}
commit 6de7d4ccef26b539777c4c153fe15cf8e1aa732e
Author: prashant <[email protected]>
Date: Tue Nov 21 15:46:38 2023 +0530
RANGER-4541: fix to allow users with Ranger admin privilege to update
status of RangerDataShareInDataset
Signed-off-by: Madhan Neethiraj <[email protected]>
{noformat}
{noformat}
commit 6dd92b6faa2bd9315e776a7bb355e235007ec0a5 (HEAD -> RANGER-3923,
origin/RANGER-3923)
Author: Madhan Neethiraj <[email protected]>
Date: Wed Nov 22 23:17:18 2023 -0800
RANGER-4541: fixed validation of DataShareInDataset and DatasetInProject
status update and delete
{noformat}
> 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
> Assignee: 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)