Open Closed

ABP Admin Roles to Tenant Roles #1373


User avatar
0
vishalnikam created
  • ABP Framework version: v3.0.4
  • 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:

We have multitenancy application, if we add Roles to main admin those are not reflecting or displayed under Teant admin.

Please latest know how all roles of main ABP admin should be displayed across all Teanat admin.


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

    hi

    Host and tenant are independent. You should set their user roles and permissions separately.

    Please reply if I misunderstanding your mean. : )

  • User Avatar
    0
    vishalnikam created

    Ok. we have requirmnet where Requestor and Approver roles need to be created. Users, who are in these role, will raise request or approve for there specific supplier or buyer. we can create Requestor and Approver roles and can map users to these roles through ABP identity module. but how roles can be mapped to Supplier or group of buyers ? can this achive through ABP identity module ? Please check the Roles hierarchy

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The abp framework allows you to manage users, roles, and their permissions. You have to create roles manually or through code, and assign permissions.

  • User Avatar
    0
    vishalnikam created

    Yes, we can create Role and assign persmissions and users to Roles but how can i assign my suppliers or buyers to the user, who are in Requestor or Approver Role through ABP idnenity module. Please advise.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    There is no build-in feature.

    You can use the usermanager, rolemanager and related repositories in Identity to implement your needs.

  • User Avatar
    0
    luke created

    I'm also wondering if there is a way to have roles which can be used across multiple tenants. Is there no way of doing this?

    I see that OrganizationUnits are inheritable, and can be assigned roles. Would it be possible to acheave this somehow using them?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Is there no way of doing this?

    This is not a standard practice, and the design of the framework did not consider it.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07