Ends in:
3 DAYS
5 HRS
6 MIN
51 SEC
Ends in:
3 D
5 H
6 M
51 S
Open Closed

Tenant management does not appear. #6323


User avatar
0
user5.abpio created

Tenant management does not appear in the admin user, although we have authorization in the angular management tab. Only the SaaS management section appears. How can we see and use normal tenant management?

When we add a tenant from the SaaS section, it assigns a record to the SaasTenants table, but we cannot enter the administration panel with this customer.

When we manually add a record to the AbpTenants table, we can log in with the relevant customer user. But we also had an authorization problem.

IsMultiTenant variable is also marked as true.

  • ABP Framework version: v7.4.2
  • UI Type: Angular
  • Database System: EF Core ( PostgreSQL,)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

7 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Tenant management does not appear in the admin user, although we have authorization in the angular management tab

    The tenant management is under the Saas menu, you can change the menu order if you want.

    When we add a tenant from the SaaS section, it assigns a record to the SaasTenants table, but we cannot enter the administration panel with this customer. When we manually add a record to the AbpTenants table, we can log in with the relevant customer user. But we also had an authorization problem.

    Sorry, I'm a little confused, There should be only one SaasTenants database table here, not AbpTenants

  • User Avatar
    0
    user5.abpio created

    The clients we opened under Saas tenant management are useless. But there are both tables in the database. So we ask where is normal tenant management. You can see its in the pictures below.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Please remove all TenantManagement module package and add&apply a new migration file

    TenantManagement module is for free template, you don't need it. Sass module is for commercial pro template

  • User Avatar
    0
    user5.abpio created

    I removed tenantmanagement packages from the project, but it throws errors everywhere. Is there a simpler way?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Please also remove the module dependencies

  • User Avatar
    0
    user5.abpio created

    Hi, I removed all the TenantManagement ones from the nuget package management in Solution. I made a new migration. The API seems to be working. By the way, SaaS packages also seem to be installed. "@abp/ng.tenant-management" in package.json on Angular side: "~7.4.2", should I remove this package? Is there something I should do in Angular?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    "@abp/ng.tenant-management" in package.json on Angular side: "~7.4.2", should I remove this package? Is there something I should do in Angular?

    Yes, please also remove all tenant-management from Angular side.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35