Activities of "jonas.widenberg"

Hello! We are in the beginning of our first project using ABP. Really like it!

I want to take advantage of the Language Management Module, exposing system texts in a front end app (built in vue.js).

I've created a custom API controller as an endpoint for the app to fetch texts from. I've also created a AppService where to create my own DTO (by requirement from the vue app localization plugin I'm using). The trouble is that certain texts should be visible to all users, regardless if they are authenticated or not. When I (anonymously) call LanguageTextAppService I get an exception, Volo.Abp.Authorization.AbpAuthorizationException: Authorization failed! Given policy has not granted.

Digging into the code I can see that the user needs to have the LanguageManagementPermissions.LanguageTexts.Default permission.

So, is there a way giving all users (anonymous) that permission OR is there a way of bypassing the permissions demanded by the LanguageTextAppService OR any other way?

Any advice is must appreciated.

Thanks! <br>

  • ABP Framework version: v3.3.1
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
Showing 1 to 1 of 1 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07