Doesn't work with Domain Entity module

Created on 16 March 2024, 9 months ago

Problem/Motivation

When using the Domain Entity module in conjunction with this module, I found that users were restricted from logging into their assigned domain(s).

Steps to reproduce

  1. Install the Domain β†’ module and configure a default and at least one other domain
  2. Install this module
  3. Install & configure the Domain Access Entity β†’ module - enable it for at least users
  4. Create a test user - assign it to the non-default domain
  5. Validate the user can't log into the default domain (this works)
  6. Validate the user can log into their assigned (this gives the error "[username] is not recognized as a username or email to this site.")

Proposed resolution

The problem is the Domain Entity module uses field_domain_access to store the domains for the user, while this module is expecting it to always be stored in the domain_access field.

Remaining tasks

I've got a patch working locally that I am planning to upload.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States banoodle San Francisco, CA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @banoodle
  • Status changed to Needs review 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States banoodle San Francisco, CA

    Uploading patch for the 8.x-1.x branch.

    Thanks for contributing this module - very helpful!

Production build 0.71.5 2024