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 v8.2.0-preview Updated on March 25, 2024, 15:11