User can add resource after the phases over

Register
Submit a solution
The challenge is finished.

Challenge Overview

mock/mock-challenge-api.js#40:

phases: [{
              actualStartDate: '2018-01-01',
              actualEndDate: '2019-01-01',
              phaseId: 'aa5a3f78-79e0-4bf7-93ff-b11e8f5b398b',
              isOpen: false
            }, {
              phaseId: 'cfe12b3f-2a12-4639-9d8b-ec86726f7644',
              isOpen: false
            }]

Steps to reproduce:

  • update mock to return a closed phase associated with a resource role
  • open the Postman collection
  • send requests to create ResourceRoles, ResourceRolePhaseDependencies if it is the first time
  • send the request create resource by admin

Current result(s):

  • the request is successful

Expected result(s):

  • should not allow to add resources to a finished phase

Attachments:
Untitled Untitled2



Final Submission Guidelines

Git issue link: https://github.com/topcoder-platform/resources-api/issues/20

Review style

Final Review

Community Review Board

Approval

User Sign-Off

Challenge links

ID: 30121639