nextcloud / nextcloud/contacts

Unshare address books shared with groups

Open
#5,000 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: contacts
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Describe the bug

As a group member I can't unshare an address book shared with the group

Steps to reproduce

User1:

  1. create an ab
  2. share it with user group 'groupe1'

User2:

  1. be a member of 'group1'
  2. Click on unshare for me
  3. error
Expected behavior

Address book unshares for the specific user only

Actual behavior

Unable to unshare the ab

Contact version

No response

Operating system

No response

PHP engine version

None

Web server

None

Database

None

Additional info

Looks like missing permissions

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\Forbidden</s:exception>
  <s:message/>
</d:error>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the group-shared address book flow with User1 and User2, focusing on the “unshare for me” action and the reported SabreDAV Forbidden error. Done means a group member can unshare the address book for that user only without receiving the permission error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.