changing admin: true with knife client edit is not applied
Open
Nobody has claimed this yet.
Aspect: Documentation
Component: others
Status: Waiting on Contributor
Triage: Needs Information
Type: Deprecation
- Dominant language
- Erlang
- Stars
- 303
- Forks
- 211
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 5
Description
If I run knife client edit and set the admin flag from false to true and save it, the setting is not applied.
Expected Behavior
When the admin flag for a client is changed, the client should have admin privileges and knife client show should show admin:true
Current Behavior
knife client show shows still admin:false
Steps to Reproduce (for bugs)
- knife client edit -e "sed -i 's/"admin":\s*false/"admin": true/'"
- knife client show
admin is still false
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.
Research direction
Start by reproducing the listed knife client edit and knife client show commands, then trace the client-edit request through the server entry point. Done means changing admin from false to true persists and knife client show reports admin:true.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100