Starts in:
1 DAY
9 HRS
34 MIN
44 SEC
Starts in:
1 D
9 H
34 M
44 S
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 v9.1.0-preview. Updated on November 20, 2024, 13:06