Question about User Management / Access Restriction

Hello all,

Sorry if this is a re-post I wasn’t able to find a post with an answer to this question on this forum.

I have a question about user management in open edX. I’m running Devstack Juniper version.

I’m trying to have two different sites on my instance (one public one internal).

I have two lms docker containers running on two different domains and with two different sites configuration.

So now I have two different course catalogs which is nice but I would like to know how or if I can prevent users from one site to login to the other site even though it’s the same database.

And if it’s not possible maybe someone has already done some development in that regard or has some experience with this ?

Thanks a lot already,
Best regards,