Ouvert Fermé

Multiple Authorize condition #3154


User avatar
0
shobhit créé
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

How we can give multiple Authorize attribute having "or" condition like. this will allow method call if any of the permission provided

[Authorize(MyProject.test.Default)] or [Authorize(MyProject.test2.Edit)] public virtual async Task SearchUserAsync(GetUserInput input) {

}


1 Réponse (s)
  • User Avatar
    0
    maliming créé
    Équipe d'assistance Fullstack Developer

    hi

    https://github.com/abpframework/abp/pull/10152#issue-1007619207

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