Hi,
Did you solve this question?
Hi,
I think you should hardcode tenant and features when publishing and always use DefaultTenantStore
, NullFeatureStore.cs
. because they will not read data from the database .
See https://docs.abp.io/en/abp/latest/Multi-Tenancy#example-define-tenants-as-hard-coded https://github.com/abpframework/abp/blob/42f37c5ff01ad853a5425d15539d4222cd0dab69/framework/test/Volo.Abp.Features.Tests/Volo/Abp/Features/TestFeatureDefinitionProvider.cs
HI,
Do you mean you want to pre-assign tenants to clients?
Hi,
What verion are you using? Can your provide steps to reproduce? Thanks.
Are you using Angualr UI? Please see https://docs.abp.io/en/abp/latest/UI/Angular/Migration-Guide-v3.
Hi,
Identityserver 4 is oauth 2.0 and openid connect framework. If Zapier support oauth2.0(sorry , I don't know zapier much). I think it can be integrated.
Hi,
Please see the docuemnt :https://docs.abp.io/en/abp/latest/Entity-Framework-Core-PostgreSQL
Hi
Permission management module is open source, your can see https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Web/Pages/AbpPermissionManagement/PermissionManagementModal.cshtml.cs
PermissionDefinitionProvider
derived class, Usually under the Permissions
folder of the .Application.Contracts
project.int
type as the primary key And you don’t need to implement IMultiTenant
. You should always switch to the host when operating your own tenant entity.[Authorize(SaasHostPermissions.Tenants.Create)]
public override async Task<SaasTenantDto> CreateAsync(SaasTenantCreateDto input)
{
var currentMyTenant = await _myTenantRepository.FindAsync(x => x.AbpTenantId == CurrentTenant.Id);
using (CurrentTenant.Change(null))
{
var result = await base.CreateAsync(input);
await _myTenantRepository.InsertAsync(new MyTenant()
{
AbpTenantId = result.Id,
MasterTenant = currentMyTenant,
MasterId = currentMyTenant.Id
});
return result;
}
}