Abrir Fechadas

About PermissionManagement #399


User avatar
0
fish criada

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 resposta (s)
  • User Avatar
    0
    liangshiwei criada
    Equipe de Apoio Fullstack Developer

    I will check it out.

  • User Avatar
    0
    liangshiwei criada
    Equipe de Apoio Fullstack Developer

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

  • User Avatar
    0
    fish criada

    My problem has been solved. Thank you very much!

Made with ❤️ on ABP v8.2.0-preview Updated on março 25, 2024, 15:11