Starts in:
1 DAY
17 HRS
5 MIN
25 SEC
Starts in:
1 D
17 H
5 M
25 S
Open Closed

About PermissionManagement #399


User avatar
0
fish created

When I call /api/permission-management/permissions (get), there is no value for Options in the CheckProviderPolicy method and an exception message is thrown: (No policy defined to get/set permissions for the provider'{policyName}'. Use {nameof (PermissionManagementOptions)} to map the policy.), how can I make it work

  • ABP Framework version: v3.05
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:No policy defined to get/set permissions for the provider '{policyName}'. Use {nameof(PermissionManagementOptions)} to map the policy.~~~~
  • Steps to reproduce the issue:

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

    I will check it out.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    You need add all AbpPermissionManagementDomain*Module and Application.Contract to your module dependencies

  • User Avatar
    0
    fish created

    My problem has been solved. Thank you very much!

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