打开 关闭

How to add the validation for existing role name property #3410


User avatar
0
Rajasekhar 创建
  • ABP Framework version: v5.0.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

How to add the validation rule for existing properties, I want to add validation attribute to role name is there any extension method you have please let me know


1 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    hi

    It seems that you can only do it in an app service method. Override the methods in IdentityRoleAppService

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11