Bug fix: permissions enforcement for PATCH /api/v2/users/{userId}/queues

Description

The PATCH /api/v2/users/{userId}/queues API endpoint is documented as requiring RoutingPermissions.QUEUE_JOIN or RoutingPermissions.QUEUE_MEMBER_MANAGE permissions.

However, the actual code doing the enforcement is incorrectly looking for RoutingPermissions.QUEUE_VIEW.

We will correct this issue and enforce the correct permission.

Change Category

API

Change Context

Bug fix

Change Impact

Any customers who are using the endpoint despite not having one of the permissions documented as being required, but with the queue view permission, will no longer be able to use the endpoint.

Date of Change

Nov 30, 2024

Impacted APIs

PATCH /api/v2/users/{userId}/queues

References

[AS-3276]
[SERVOPS-47262]

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.