nextcloud / nextcloud/circles

When limiting creations of teams to a certain group button to create is still visible

Open
#2,175 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. limit creation of teams to a group with occ config:app:set circles limit_circle_creation --value
  2. go into contacts with a user that is not in that group
  3. Click on create team. Follow steps and get an error message.
Expected behaviour

Button to create should not even be visible unless i am in the group that can create

Actual behaviour

You seem to be able to create a circle bit you get an error message.

Server configuration

Nextcloud version: 32

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 issue in Contacts with a user outside the configured group, then trace the team creation UI entry point. Done means the create button is hidden for users outside the allowed group while users in the group can still create a team.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.