Last updated
Was this helpful?
Last updated
Was this helpful?
Since Aidbox version 2412, to enable OrgBAC in , use:
If your Aidbox version is lower or you do not use FHIRSchema mode, use and import aidbox.multitenancy.v1.fhir-r4
or aidbox.multitenancy.v1.fhir-r5
namespace.
Add aidbox.multitenancy.v1.fhir-r4
to the import section.
Use Aidbox UI Rest Console to create nested Organization resources.
You should have 3 nested organizations for now
Use Aidbox UI Rest Console to create Patient resource in the organization B.
To allow some user/client to interact with a organization-based resources, AccessPolicy should be configured to check organization id from the https://aidbox.app/tenant-organization-id
extension of User/Client resource.
This example allows org-based user (created by PUT /Organization/<org-id>/fhir/User
) to see patients that are also created by OrgBAC.
This guide explains how multi-tenancy on the Organization resources can be enabled