Describe the bug
Cannot cancel rejection of feasibility form not even as an administrator.
To Reproduce
Login as a regular user
Create a DAR
Create a feasibilty form and submit
Login as a DAO
Reject feasibility form
Click on Cancel Rejection
Expected behavior
Feasibility form's rejection is cancelled
Current behavior
Mica rejects the request due to:
java.lang.IllegalArgumentException: Rejected data access form can only be put under review
All Data Access entities share the same DataAccessRequestUtilService::checkRejectedStatusTransition. Maybe this logic should only apply to DAR and AMD.
Describe the bug Cannot cancel rejection of feasibility form not even as an administrator.
To Reproduce
Expected behavior Feasibility form's rejection is cancelled
Current behavior Mica rejects the request due to:
All Data Access entities share the same
DataAccessRequestUtilService::checkRejectedStatusTransition
. Maybe this logic should only apply to DAR and AMD.