Open Closed

Multiple Authorize condition #3154


User avatar
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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

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

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