nextcloud / nextcloud/contacts
Unshare address books shared with groups
Open
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:
- create an ab
- share it with user group 'groupe1'
User2:
- be a member of 'group1'
- Click on
unshare for me - 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
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 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