Hello
I am using this module to manage 4 domains.
I would like to restrict the login to one of them.
The restriction would allow the users with a specific role to login in the domain.
The users without this role would not able to login in this domain.

What would be the best way to achieve that?

Thanks

Comments

superlolo95 created an issue. See original summary.

superlolo95’s picture

Title: Restrict access to a domain by role » Restrict login to a domain by role
Issue summary: View changes
agentrickard’s picture

See #2888848: preventing users from logging in on domains they are not assigned to for a similar request.

One possible way to handle that is to use the "inactive" domain setting for that one domain, and the 'Access inactive domains' permission for that role.

Anything beyond that would require some custom code or a new module.

superlolo95’s picture

Thanks, I will check that

agentrickard’s picture

Status: Active » Closed (works as designed)