User Isolation between sites.
|Reported by:||jorgeecardona||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
I want to add a feature in which the users can be isolated between sites, in order to improve multitenancy in django.
I added to auth.User a site field as ForeignKey with null=True and default=None, and in Meta a unique_together=('name', 'site'). The actual tests run without problem with that.
I will add more tests soon.
Change History (12)
comment:1 Changed 6 years ago by
|Patch needs improvement:||unset|
comment:2 Changed 6 years ago by
|Triage Stage:||Unreviewed → Someday/Maybe|