Override the default tenant filter for the staff_user table to check with the user_group_membership table.
Note : tenant_id is left as it is in the staff_user table to track the tenant_id of the user when it is created first time.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).
Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-478
Description of changes:
Tested users can belong to more than one tenant.
Note : tenant_id is left as it is in the staff_user table to track the tenant_id of the user when it is created first time.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).