nextcloud / nextcloud/contacts
Don't allow users to delete their default addressbook
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
A user of my Nextcloud instance deleted their default addressbook and was then unable to create new contacts. I fixed the problem by recreating it with the command occ dav:create-addressbook <user> contacts but I don't think it should be possible to delete the default address book in the first place, just as it is not possible to delete the system address book.
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 tracing the address-book deletion handling and the occ dav:create-addressbook <user> contacts entry point mentioned in the report. Confirm where the default address book is identified, then verify that it cannot be deleted and that users can still create new contacts afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100