Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG : Verified Trainee Not Appearing in User List After Signup #249

Description

@TadreebLMS

Steps to Reproduce :

  1. signup using signup option on http://test.tadreeblms.com
  2. fill the form and click submit
  3. user will receive an email with activation link
  4. activate user from email

Go to admin and check for user :
Admin :
Open the application: http://test.tadreeblms.com/
Login using admin credentials:
Username: [[email protected]]
Password: 123456
Go to user management -> all users ( this new user should be reflected here)


PROBLEM DESCRIPTION

When a trainee signs up using the public Signup page:

  1. Registration is successful
  2. Activation email is sent
  3. User clicks verification link
  4. Email verification completes successfully

BUT:

The verified user is NOT visible in:
Admin Panel → User Management → User List


EXPECTED BEHAVIOR

After successful email verification:

  • User should be stored in users table
  • confirmed flag should be updated
  • User should appear in Admin → User List
  • Default role should be "Trainee"

ACTUAL BEHAVIOR

  • User receives verification email
  • Verification works
  • User does NOT appear in admin user list
  • Possibly not being inserted properly
    OR being filtered out

POSSIBLE ROOT CAUSES

  1. User record not saved before verification
  2. confirmed column not updated correctly
  3. Role not assigned (missing role_id / ability)
  4. Admin user list filtering only specific roles
  5. Soft delete enabled accidentally
  6. Multi-tenant / department filter blocking visibility
  7. APP_INSTALLED flag interfering
  8. Registration logic differs from admin-created users

CHECKPOINTS FOR DEBUGGING

  • Check database:
    SELECT * FROM users ORDER BY id DESC;

  • Check confirmed column value

  • Check role/ability assignment

  • Check if user has department_id

  • Check if any global scope applied on User model

  • Check if soft deletes enabled:
    use SoftDeletes;

  • Verify UserController index query filters


IMPACT

  • New trainees cannot be managed
  • Admin unaware of new registrations
  • System appears broken for public signup
  • Marketplace onboarding blocked

ACCEPTANCE CRITERIA

  • Verified trainee appears in Admin → User List
  • Default role auto-assigned as Trainee
  • No filtering hides legitimate users
  • Registration flow consistent with admin-created users

Screenshot :

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    IntermediateThis label contains the issues / enhancement for the Intermediate level developersbugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions