When limiting creations of teams to a certain group button to create is still visible
Open
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
- limit creation of teams to a group with occ config:app:set circles limit_circle_creation --value
- go into contacts with a user that is not in that group
- 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
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 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