listmonk icon indicating copy to clipboard operation
listmonk copied to clipboard

User cannot see their own created lists - new lists not automatically assigned to user's role

Open ermoi opened this issue 1 month ago • 0 comments

Hi team, I've found a permissions issue in Listmonk v5.1.0 where users with list creation permissions cannot see the lists they create.

Version:

  • Listmonk version: 5.1.0
  • Deployment: Docker container
  • Database: PostgreSQL

Steps to Reproduce

  1. Create a user role with create list permissions (e.g., "Marketing Team")
  2. Assign a user to this role
  3. Assign a user to a list role
  4. Grant the user permission to view/manage lists assigned to their list role
  5. User logs in and creates a new list
  6. User navigates to Lists page

Expected Behavior When a user creates a new list, it should be automatically assigned to the user's list role, making it immediately visible and manageable by that user.

User workflow should be:

  1. User creates list ✅
  2. List is automatically associated with user's list role ✅ (expected)
  3. User can see and manage the list ✅ (expected)

Actual Behavior When a user creates a new list, it is NOT automatically assigned to any list role. The user cannot see or manage the list they just created.

Current broken workflow:

  1. User creates list ✅
  2. List is created but not assigned to any list role ❌
  3. User cannot see their own list ❌
  4. Admin must manually assign the list to the user's list role ❌

Impact This creates a poor user experience where:

  • Users think list creation failed (they can't see it)
  • Admins must manually assign every new list to the correct role
  • Users cannot work independently even with proper permissions

Proposed Solution When a user creates a list, the list should be automatically assigned to:

  • Option A: All roles that the user belongs to
  • Option B: The user's primary/default role
  • Option C: Allow the user to select which role(s) during list creation

ermoi avatar Dec 03 '25 07:12 ermoi