I have a running ABP website that does not support multi-tenancy. How should I add the multi-tenancy feature to this website?
We are building a multi-tenancy project and hope to enable the same account to switch between tenants, with the account having different roles in different tenants. How can this be achieved?
I have created a CRUD page, and I added a logic to check for the delete button:
[Authorize(TappPermissions.TappOrganizations.Delete)]
public override async Task DeleteAsync(Guid id)
{
var users = await _tappOrganizationUsersAppService.GetListAsync(new GetTappOrganizationUsersInput()
{
TappOrganization = id,
MaxResultCount = 1
});
if (users.Items.Any())
throw new Exception("This organization can't be deleted because it has users associated with it.");
await _tappOrganizationRepository.DeleteAsync(id);
}
and I am trying to show the exception message on this pop up window. how can I do that? thanks
for the #2, after we enable it, the recaptcha was not stable, I checked the code and found that the recaptcha google js code is on the bottom, this could cause issues if users take action immediately before the js code is loaded, can you tell me how we can move the js code to the head tag?
<script src="https://www.google.com/recaptcha/api.js?hl=en&render=99999"></script>
<script>grecaptcha.ready(function(){ grecaptcha.reExecute = function(callback){grecaptcha.execute
I published the site recently and had my co-workers test, they found three strange bugs that I can't repeat:
this happened when saving a form
2.
on register page, we didn't enable google recaptcha, again, I can't repeat this myself.
any suggestions to debug?
yes, the same
no, I didn't override the page
yes! worked