Hi,
I'm currently working on security fixes to our application that have requested by a third party security company for our client.
One of their requests is that the list of all permisions (found in abp.auth.allPermissions) is not displayed in AbpScripts/GetAll.js on the login page and other unauthenticated pages.
I have tried modifiying Web/Abp/Framework/Scripts/abp.js however this does not seem to affect the output of the generated AbpScripts/GetAll.js file. I can see the ticks querystring on the end of the request, so it is not a caching issue.
How can I modify the output for AbpScripts/GetAll.js?
3 Answer(s)
-
0
Hi, please share your ANZ project version and framework.
-
0
Hi ryancyq,
My ANZ Project version is 6.8.0.0 and the framework is ASP.NET Core MVC + jQuery
Please let me know how this can be achieved.
Thank you
-
0
Hi,
You can create a similar Controller like https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore/AspNetCore/Mvc/Controllers/AbpScriptsController.cs in your project and use it instead of AbpScripts/GetAll in the related cshtml file.