Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add TaskSkill model and endpoints #670

Copy link
Copy link
@begedin

Description

@begedin
Issue body actions

Problem

To be able to match tasks with users, we need a TaskSkill model with associated endpoints, policies, etc.

Model

  • TaskSkill model
    • [:skill_id, :task_id]
    • create_changeset - requires both fields. uniqueness on that specific combination of fields

Endpoints

  • POST /task-skills to assign a skill to a project - creates record
  • DELETE /task-skills to remove a skill from a project - deletes record
  • GET /task-skills - to fetch all project skills (with coalesce support for hasMany)
  • GET /task-skills/:id

Policies (Authorization)

  • CREATE and DELETE should be task author, project admin or higher. Up for discussion. Possibly just a contributor might be enough.
  • SHOW and INDEX should be public

Authentication

  • CREATE and DELETE should require authentication
  • SHOW and INDEX should be public

Progress on: #668

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.