Ends in:
7 DAYS
10 HRS
19 MIN
42 SEC
Ends in:
7 D
10 H
19 M
42 S

Activities of "berkansasmaz"

The question seems to have been closed by the bot, but if the related problem is still not fixed, please feel free to open it.

The question seems to have been closed by the bot, but if the related problem is still not fixed, please feel free to open it.

My advice is to do this in appsetting.json, you can pass default values to AbpKafkaOptions and AbpKafkaEventBusOptions on the code side, but it may create confusion for future readers.

I think you can do it by changing the target.

In the *.MenuContributor.cs class inside the Navigation folder, you can change the target in the ConfigureUserMenuAsync method as follows:

private async Task ConfigureUserMenuAsync(MenuConfigurationContext context)
        {
            var accountStringLocalizer = context.GetLocalizer<AccountResource>();
            var identityServerUrl = _configuration["AuthServer:Authority"] ?? "";

            context.Menu.AddItem(new ApplicationMenuItem(
                "Account.Manage",
                accountStringLocalizer["MyAccount"],
                $"{identityServerUrl.EnsureEndsWith('/')}Account/Manage?returnUrl={_configuration["App:SelfUrl"]}",
                icon: "fa fa-cog",
                order: 1000,
                customData: null,
                target: "_self"
                ).RequireAuthenticated());

            context.Menu.AddItem(new ApplicationMenuItem(
                "Account.SecurityLogs",
                accountStringLocalizer["MySecurityLogs"],
                $"{identityServerUrl.EnsureEndsWith('/')}Account/SecurityLogs?returnUrl={_configuration["App:SelfUrl"]}",
                icon: "fa fa-cog",
                order: 1001,
                null).RequireAuthenticated());

            await Task.CompletedTask;
        }
    }

I could not reproduce the problem.

Here are my steps:

  1. Download template with abp new MvcTestQaLast -t app-pro -cs -csf --preview command.
  2. Run MvcTestQaLast.DbMigrator project.
  3. Run abp add-module Volo.Forms command.
  4. Run MvcTestQaLast.Web project.

Result:

You can override the js file.

In addition to adding new CSS/JavaScript file to a page, you also can replace the existing one (by defining a bundle contributor).

See more details: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#example-add-a-javascript-file-for-a-specific-page

I think you can do it by replacing the service.

https://docs.abp.io/en/abp/latest/Dependency-Injection#replace-a-service

Can you try the code below?

context.Services.Replace(ServiceDescriptor.Singleton<IDistributedEventBus, LocalDistributedEventBus>());

Hello,

By default, permission can be used on both the tenant and the host side. See: https://docs.abp.io/en/abp/latest/Authorization#multi-tenancy

Also, as you know, AbpHangfireAuthorizationFilter class has the enableTenant and requiredPermissionName fields.

I think assigning the relevant permission to the user in the tenant will solve the problem. See: https://docs.abp.io/en/abp/latest/Background-Jobs-Hangfire#abphangfireauthorizationfilter

Any chance to try this case?

Answer

Can't do this from the user interface?

Any chance of posting a minimally reproducible example where we can reproduce the problem?

Showing 241 to 250 of 355 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06