Open Closed

Cannot get permissions in Tenant (abp 4.4.1 bug) #1789


User avatar
0
linch created
  1. create a new abp project with abp suite(version 4.4.1), as Suite Tool still generate project with packages 4.4.0, so upgrade all abp related packages to 4.4.1 with abp update;
  2. Initial Migrations
  3. Launch Host and Identity server
  4. Login with admin and Create new Tenant
  5. Login with tenant and get permission with ProviderName='R' and ProviderKey="admin" (https://localhost:*****/api/permission-management/permissions?providerName=R&providerKey=admin)
  6. the response return: {"entityDisplayName":"admin","groups":[]}, there is no permissions in it.
  • ABP Framework version: v4.4.1
  • UI type: Not Related
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

By the way, /api/permission-management/permissions?providerName=R&providerKey=admin can return permissions in host mode


9 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @linch

    Can you share the project with me? liming.ma@volosoft.com

  • User Avatar
    0
    linch created

    hi @linch

    Can you share the project with me? liming.ma@volosoft.com

    hi, the sample project has sent.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I have not received.

  • User Avatar
    0
    linch created

    hi

    I have not received.

    hi: The email seems to have problem with zip package attachment. So I upload to github repo share with you, :)

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will fix this asap. Thank you.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please follow: https://github.com/abpframework/abp/pull/9949

  • User Avatar
    0
    linch created

    hi

    Please follow: https://github.com/abpframework/abp/pull/9949

    ok, thank you.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    HI

    Your Credits is Refunded.

  • User Avatar
    0
    linch created

    HI

    Your Credits is Refunded.

    Thanks a lot.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54