Open Closed

Multiple Authorize condition #3154


0
shobhit created
  • 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 Answer(s)
  • 0
    maliming created
    Support Team

    hi

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