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!

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 12, 2025, 09:12