Skip to content

NethVoice: chat button shown on colleagues without the chat permission #8405

Todo

Description

@edospadoni

In NethVoice CTI, users with the chat permission see the chat button on every colleague in the Operators page, also on colleagues whose profile does not have the chat permission. Messages sent to them are never read, and they all show up later if the permission is enabled for those users.

Steps to reproduce

  1. In NethVoice Administration, give Alice a profile with the Chat permission and Bob a profile without it.
  2. Log in to the CTI as Alice and open the Operators page.
  3. Bob's operator card shows the chat button: click it and send a message.
  4. Enable the Chat permission on Bob's profile, then log in to the CTI as Bob and open the chat.

Expected behavior

The chat button is not shown on colleagues without the chat permission, they are not offered as chat contacts, and a message to them cannot be sent.

Actual behavior

The chat button is shown on every colleague and the message to Bob is accepted. Alice gets no sign that Bob will never read it. When the permission is enabled on Bob's profile, Bob finds every message sent to him while he had no chat, out of context.

Components

  • NethVoice 1.8.7

See also

Activity

  1. added
    nethvoice
    on Dec 2, 2026
  2. added theissue type on Dec 2, 2026
  3. added this to the NethVoice 1.8 milestone on Dec 2, 2026
  4. added
    testing
    and removed
    testing
    on Dec 2, 2026
  5. moved this from Todo to Testing in NethVoiceon Dec 2, 2026
  6. moved this from Testing to In Progress in NethVoiceon Dec 2, 2026
  7. added
    testing
    on Dec 2, 2026
  8. edospadoni commented on Dec 2, 2026

    @edospadoni
    MemberAuthor

    Test

    PRs: nethesis/ns8-nethvoice#1368, nethesis/chat-island#8 (released as 0.1.74), NethServer/nethlink#284

    Setup: two users, Alice on a CTI profile with the Chat permission and Bob on a profile without it. Log in to the CTI as Alice. After a profile change, wait up to 2 minutes (the chat list is refreshed every 2 minutes) or reload the CTI page.

    Test Case 1 - CTI: no chat button for colleagues without chat

    • Operators page: Bob's card (normal and compact view) has no chat button, colleagues with chat still have it
    • Operator summary/drawer of Bob: no chat button
    • Call history details of a call with Bob: no chat button
    • Queue call details: Bob is not listed among the agents to chat with

    Test Case 2 - Chat window and new chat

    • New chat: Bob does not appear in the colleague picker
    • Group settings: Bob cannot be added to a group
    • An existing conversation with Bob opens read-only, with the "Chat non attiva" / "Chat not active" notice, and no message can be sent

    Test Case 3 - Mobile app

    • From the mobile app, Alice sends a chat message to Bob: the message is refused and never reaches Bob, not even after the Chat permission is enabled again
    • Messages between two users with chat still work from the mobile app

    Test Case 4 - Permission enabled again

    • Move Bob to a profile with Chat: within 2 minutes the chat button comes back on his card, he is listed in new chat and the conversation becomes writable again

    Test Case 5 - NethLink (needs the NethLink build of NethServer/nethlink#284)

    • Search results and speed dials: no chat button for Bob, chat button still shown for colleagues with chat

    Testing image: PR build of #1368

    ghcr.io/nethesis/nethvoice:pr-1368.2299-1.d06220b
    
    api-cli run update-module --data '{"module_url":"ghcr.io/nethesis/nethvoice:pr-1368.2299-1.d06220b","instances":["nethvoice1"],"force":true}'
    

    NethLink build: dev build of NethServer/nethlink#284, download the app for your OS from the artifacts of the workflow run (Windows, Linux AppImage, macOS x64, macOS arm64)

  9. moved this from In Progress to Testing in NethVoiceon Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

nethvoicetesting

Type

Projects

  • Status
    Testing

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions