Open Closed

How to handle Authorization in dependency API #7590


User avatar
0
nabass created
  • ABP Framework version: v8.0.2
  • UI Type: Angular / MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • **Tiered (for MVC) **: yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  • I create Application depend on modularity architecture and create 4 Modules in Application (SO -POS - Inventory- Accounting)
  • like
  • I would like to handle authorization in this API(Add Issue API) *by this way : i want to give user permission only on Create Invoice API in Sales Order Module ,which already call Add Issue API internal but without give the user permission individual for two API's
  • the same when give user permission on Create Receipt API in POS Module ,which already call Add Issue API internal without give the user permission individual for (Create Receipt API -Add Issue API)
  • because the Add Issue API it calls from many API's in different modules
  • So Could you provide me by the best way to handle calling dependency API from Another Module
  • this image clarify our modules architecture

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    you can consider to use Integration Services https://abp.io/docs/latest/framework/api-development/integration-services https://github.com/abpframework/abp/issues/12470

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38