As another ABP customers reported, this wasn't an issue in previous versions of ABP Blazor Server.
May I ask which version?
Hi,
Just a simple idea:
Host Users for the Host need to be able to access the "Host" application (managing tenants, language strings, audit logs, etc).
This is simple, so skip it.
Doctors
A doctor can choose which "Employer", which means It can cross tenants.
A doctor can be a host user with doctor
role.
When doctors choose an employer(tenant), create a copy of the user for the doctor in the tenant, and their information should be synchronized.
ObjectExtensionManager.Instance.Modules()
.ConfigureIdentity(identity =>
{
identity.ConfigureUser(user =>
{
user.AddOrUpdateProperty<string>( //property type: string
"EmployerId", //property name
property =>
{
property.UI.OnCreateForm.IsVisible = false;
property.UI.OnEditForm.IsVisible = false;
}
);
});
});
Employer
Employer is a tenant.
Hi,
Could you share a test project with me? I will check it and try to help you, my email is shiwei.liang@volosoft.com
Hi,
So, preventing concurrent logins from different browsers is working now but the previous browser did not redirect to the login page
You can redirect:
if (httpContext.User.Identity != null && httpContext.User.Identity.AuthenticationType == "Identity.Application")
{
await httpContext.RequestServices.GetRequiredService<AbpSignInManager>().SignOutAsync();
//await httpContext.ChallengeAsync("Identity.Application");
var redirectUrl = "...";
httpContext.Response.Redirect(redirectUrl);
return;
}
Hi,
There is no CLI pro, all CLI code is open-source:
Hi,
I will check it
Hi,
Can you try this?
Add to the MyProjectNameEntityFrameworkCoreTestModule
Configure<FeatureManagementOptions>(options =>
{
options.SaveStaticFeaturesToDatabase = false;
options.IsDynamicFeatureStoreEnabled = false;
});
Configure<PermissionManagementOptions>(options =>
{
options.SaveStaticPermissionsToDatabase = false;
options.IsDynamicPermissionStoreEnabled = false;
});
context.Services.AddAlwaysDisableUnitOfWorkTransaction();
Configure<AbpUnitOfWorkDefaultOptions>(options =>
{
options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled;
});
Hi,
How do I reproduce the problem, could you explain it in detail? thanks.