Handle Restore of Preexisting Users
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 32
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
knife-ec-backup should be able to handle the case where a USAG already exists for a user and we are trying to restore that preexisting user along with other non-existent users and all of their ACLs, as in Zendesk 5060.
Currently, if I try to restore an existing user with knife-ec-backup without use of the --skip-useracl option, the update fails. The problem with this is that --skip-useracl applies to all users in the export from the source system, which means none of the users' ACL info is updated, even if only one user is preexisting in the destination system.
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 locating knife-ec-backup's restore path and the handling of the --skip-useracl option; the issue does not name specific files or tests. Reproduce Zendesk 5060 with one preexisting user and other new users, then verify that restoring the preexisting user succeeds while ACLs for all users are updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100