In my application, i have a permissions called "elevate-tenant" that allows an user to select any tenant from the system to be associated with the registry. This permission is usually applied on admin roles.
If i call addTenant() from a middleware, i will get to replace the tenant calling addTenant() again or it will create another tenant ?
In my application, i have a permissions called "elevate-tenant" that allows an user to select any tenant from the system to be associated with the registry. This permission is usually applied on admin roles.
If i call
addTenant()
from a middleware, i will get to replace the tenant callingaddTenant()
again or it will create another tenant ?