Starts in:
2 DAYS
8 HRS
27 MIN
22 SEC
Starts in:
2 D
8 H
27 M
22 S
Open Closed

Regarding identity server authentication in Hangfire Dashboard #3132


User avatar
0
ChetanKumbhar created

Hi,

I want to log in hangfire dashboard with user which is in AbpUsers Table, this user will be as per tenant, different tenant will have different user, I went through documents, but could not found any suitable solution. Please help me on this issue. Thanks In Advance.

  • ABP Framework version: v4.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

2 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    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?

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    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.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06