Hi,
The easiest way is to delete the organizational unit menu:
context.Menu.GetAdministration().Items.FirstOrDefault(x => x.Name.Equals(IdentityMenuNames.GroupName))?.TryRemoveMenuItem(IdentityMenuNames.OrganizationUnits);
If you want to disable the API:
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IOrganizationUnitAppService))]
[RemoteService(false)]
public class MyOrganizationUnitAppService : OrganizationUnitAppService, IOrganizationUnitAppService
{
public MyOrganizationUnitAppService(
OrganizationUnitManager organizationUnitManager,
IdentityUserManager userManager,
IOrganizationUnitRepository organizationUnitRepository,
IIdentityUserRepository identityUserRepository,
IIdentityRoleRepository identityRoleRepository)
: base(
organizationUnitManager,
userManager,
organizationUnitRepository,
identityUserRepository,
identityRoleRepository)
{
}
}
Hi,
Are you using rabbitmq or default distributed event bus provider?
```json
{
"culture": "en",
"texts": {
"TestKey": "This is test value"
}
}
```
```json
{
"culture": "vi",
"texts": {
"TestKey": "Đây là giá trị được thử nghiệm"
}
}
```
Set as embedded file:
<ItemGroup>
<EmbeddedResource Include="Localization\Identity\*.json" />
<Content Remove="Localization\Identity\*.json" />
</ItemGroup>
Extend localized resources for modules:
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
.Get<IdentityResource>()
.AddVirtualJson("/Localization/Identity");
});
Add Vietnamese culture:
That's all
ABP framework uses IGuidGenerator
internally
https://github.com/abpframework/abp/blob/1a622bc50fbd9b554f61078d5eeafa9def3216e3/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLog.cs#L63
Can you explain it in detail? thanks.
Hi,@sean.alford
Please send logs to liangshiw@outlook.com. Thanks.
HI,
DBMigrator does not support rollback. You can use ef core command to rollback database. see https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet#dotnet-ef-migrations-script.
Hi,
You need add Volo.Abp.EntityframeworkCore
NuGet package to your project.