Delete team from Teams admin page fails
Nobody has claimed this yet.
- 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
- Log in as a Nextcloud admin or somebody with delegated control on the admin page for Teams
- Open the Teams admin page.
- Select the 3 dots behind a teamname and choose Delete team
- 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
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 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