Infos:
- Used Zammad version:
- Used Zammad installation type: zammad-docker-compose 6.2.0-1
- Operating system:
- Browser + version:
Expected behavior:
Creating a ticket from API with specific permissions for /api/v1/users.
Actual behavior:
With ticket.agent & ticket.customer permissions, we’re able to create tickets(api/v1/tickets) even user/customer doesn’t exist(ticket.agent mandatory) - example: (“customer_id”: “guess:email@example.com”).
Also, you can restrict ticket.agent by Group permissions, and that’s right. The bigger problem is, if you use the same API token for /api/v1/users, you can do whatever you want with Zammad users(GET, POST, PUT…)
Steps to reproduce the behavior:
Some way to restrict created API token for /api/v1/users with ticket.agent permissions