Open Closed

Can I only overwrite IIdentityUserAppService for deleteAsync method? #5785


User avatar
0
Kevin_Kim created
  • ABP Framework version: v7.0.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Can I overwrite just DeleteAsync method? What I would like to do is adding a condition, and check if a user request this for his/her account, I accept. Otherwise only admin can delete user's account as the original way.

Thank you,


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

    hi

    https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Guide#overriding-services-components

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15