Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign deliverable to tecker for a specific batch #26

Open
iuresti opened this issue Feb 24, 2019 · 1 comment
Open

Assign deliverable to tecker for a specific batch #26

iuresti opened this issue Feb 24, 2019 · 1 comment
Assignees
Milestone

Comments

@iuresti
Copy link
Member

iuresti commented Feb 24, 2019

Roles allowed:
Administrator

As an administrator I can assign a deliverable to a group of teckers so they can later see the assigned deliverables and mark them as done or in progress

@iuresti
Copy link
Member Author

iuresti commented Oct 18, 2019

Create an endpoint:
PUT /api/deliverable/{deliverableID}/teckers
BODY
[
"teckerId1","teckerId2", "teckerId3"
]

Validations:

  • All teckers must have the role TECKER assigned

  • deliverable must exist

  • teckers and deliverable must be assigned to the same batch

  • If a tecker does not exist, ignore it and proceed
    Return on success: 202 - Accepted
    Return on failure: 409 - Conflict (Issues must be logged at WARN level)

  • The list contains the complete list of teckers assigned to the deliverable.

  • Empty list is allowed meaning to remove all assignments from this deliverable to teckers

@iuresti iuresti closed this as completed Oct 18, 2019
@iuresti iuresti reopened this Oct 18, 2019
karenmtz3 added a commit that referenced this issue Oct 22, 2019
iuresti added a commit that referenced this issue Oct 31, 2019
…ble-to-tecker

#26 - Assign deliverable to tecker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants