CHW-4310 PackagePermissionConflict

package permission already exists for this client, pattern, and repository; edit the existing row instead of creating a duplicate

Default message: package permission already exists for this client, pattern, and repository; edit the existing row instead of creating a duplicate
HTTP status: 409 (client)

Problem. A permission row already exists for this (client_id, pattern, repository) tuple. Cause. The unique constraint in the package_permissions table fires on duplicates. Fix. Edit the existing row or delete it before creating a duplicate. HTTP 409.