Open Closed

[Question] How to bypass permission check in some method in AppService for a Commercial module #1054


User avatar
0
yinchang created
  • ABP Framework version: 4.2.2

  • UI type: don't care

  • DB provider: don't care

  • Tiered (MVC) or Identity Server Separated (Angular): don't care

HI:
I have a question:
When I use FileManagement module,
for execute DownloadAsync method in FileDescriptorAppService
it need FileManagement.FileDescriptor permission,
but I want to let it can be executed without any permission,everyone can use it to download file,
I had already read doc about overriding-a-permission-by-a-custom-policy
but i don't know how to ignore exist policy for a appservice.

Can you tell me how to do? thank you.


2 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
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 April 11, 2025, 10:10