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

Subhrat Chaudhary updated RANGER-4443:
--------------------------------------
    Description: 
When a request is updated (DataShareinDataset and DatasetInProject), we need to 
do following evaluations:
 * Only the users allowed to updated approve/accept/activate based on ACL.
 * State transition should be valid e.g. request status cannot be changed from 
REQUESTED to ACTIVE directly.
 * When a request is created, if the user is admin (i.e. resource owner - 
datashare admin in case of DataShareinDataset and dataset admin case of 
DatasetInProject), permitted states should be REQUESTED/GRANTED.
 * When a request is created, if the user is admin on both end (i.e. datahare 
and dataset admin in case of DatashareInDataset), permitted state should all 
i.e. REQUESTED, GRANTED, ACTIVE

  was:
When a request is updated (DataShareinDataset and DatasetInProject), we need to 
do following evaluations:
 * Only the users allowed to updated approve/accept/activate based on ACL.
 * State transition should be valid e.g. request status cannot be changed from 
REQUESTED to ACTIVE directly.


> Implement request state transition evaluation for DataShareinDataset and 
> DatasetInProject
> -----------------------------------------------------------------------------------------
>
>                 Key: RANGER-4443
>                 URL: https://issues.apache.org/jira/browse/RANGER-4443
>             Project: Ranger
>          Issue Type: Sub-task
>          Components: admin
>            Reporter: Subhrat Chaudhary
>            Priority: Major
>
> When a request is updated (DataShareinDataset and DatasetInProject), we need 
> to do following evaluations:
>  * Only the users allowed to updated approve/accept/activate based on ACL.
>  * State transition should be valid e.g. request status cannot be changed 
> from REQUESTED to ACTIVE directly.
>  * When a request is created, if the user is admin (i.e. resource owner - 
> datashare admin in case of DataShareinDataset and dataset admin case of 
> DatasetInProject), permitted states should be REQUESTED/GRANTED.
>  * When a request is created, if the user is admin on both end (i.e. datahare 
> and dataset admin in case of DatashareInDataset), permitted state should all 
> i.e. REQUESTED, GRANTED, ACTIVE



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

Reply via email to