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>