Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
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