Only task authors as well as project contributors or higher can edit task skills.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- authorization, frontend
Research direction
Start in project/tasks/task.hbs and inspect the existing skill-button, skill-typeahead, and related-skills usage. Review acceptance/task-editing-test.js and the task page object in tests/pages/project/tasks/task.js, then run the relevant acceptance tests. Done means unauthorized users cannot assign or remove task skills while authorized users retain the editing UI.
Written by the indexing model from the issue text.
Description
Problem
Right now on project/tasks/task.hbs, the UI to remove and add task skills is accessible by anyone.
We should change this so that only users who are able to edit tasks can interact with this part of the UI.
Subtasks
- Wrap the
skill-buttoncollection as well as theskill-typeaheadUI with an{{#if (can 'edit task' task)}}block - [ ] Put a
{{related-skills}} component into theelse` part of the block. - [ ] Fix any broken tests
- [ ] Add an acceptance test to
acceptance/task-editing-test.jsalong the lines of "skills cannot be assigned to/from a task if user is not able to". - [ ] Possibly: Add properties to
tests/pages/project/tasks/task.jsto support the above acceptance test. Something likerendersTaskSkillsList,rendersRelatedSkills,rendersSkillsTypeahead, etc.
- Dominant language
- JavaScript
- Stars
- 120
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from code-corps/code-corps-ember
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
code-corps/code-corps-ember#1616 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
code-corps/code-corps-ember#1613 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
code-corps/code-corps-ember#1612 ·
-
Difficulty: Medium Skill: ember-cli-page-object
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
code-corps/code-corps-ember#1063 · 1 reaction ·
-
greenkeeper
Difficulty 3/5 1-2 days Newbie friendliness 25/100
code-corps/code-corps-ember#1765 · 1 comment ·
All issues in code-corps/code-corps-ember
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100