nextcloud / nextcloud/circles

Delete team from Teams admin page fails

Open
#2,909 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
177
Forks
68
Avg merge
2d 22h
Merged PRs (30d)
60

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Log in as a Nextcloud admin or somebody with delegated control on the admin page for Teams
  2. Open the Teams admin page.
  3. Select the 3 dots behind a teamname and choose Delete team
  4. In the popup choose Delete team.
Expected behaviour

The action only shows if you have permissions to delete the team.
A Nextcloud admin can delete teams if needed.
A logging rule that tells the reason why you weren't able to delete the team in.
The team is deleted if you were able to click the button.

Actual behaviour

You get a notification 'Unable to delete the team' (if you are not the owner of the team)
The team succesfully deletes (if you are the owner of the team)

Server configuration

The latest AIO docker containers for NC 35.

Browser

Browser name: Edge

Browser version: 153

Operating system: Windows

Browser log Image

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 at the Teams admin page and reproduce deletion as a Nextcloud admin and as a non-owner. Trace the Delete team action and its permission handling, then verify that unauthorized users cannot trigger it, authorized deletions succeed, and a useful reason is logged when deletion is denied.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authorization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.