-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Milestone
Description
Problem
To be able to match tasks with users, we need a TaskSkill model with associated endpoints, policies, etc.
Model
-
TaskSkillmodel[:skill_id, :task_id]create_changeset- requires both fields. uniqueness on that specific combination of fields
Endpoints
-
POST /task-skillsto assign a skill to a project - creates record -
DELETE /task-skillsto remove a skill from a project - deletes record -
GET /task-skills- to fetch all project skills (with coalesce support forhasMany) -
GET /task-skills/:id
Policies (Authorization)
- CREATE and DELETE should be task author, project admin or higher. Up for discussion. Possibly just a
contributormight be enough. - SHOW and INDEX should be public
Authentication
- CREATE and DELETE should require authentication
- SHOW and INDEX should be public
Progress on: #668
Metadata
Metadata
Assignees
Labels
No labels