You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Using the misc/Testing2 demo as a reproduction project, if I alter line 9 of Author.cs to a simple [Authorize], instead of the policy-based authorization, then the test fails.
This feels like a bug, since the test is providing a state with a user with an admin role, so it should pass a simple [Authorize] attribute.
I could be as well that something else is missing in the test setup to make the authorize work, but since the policy based authorization is working, I would think that a less complex authorize would work.
The text was updated successfully, but these errors were encountered:
Hi, Using the misc/Testing2 demo as a reproduction project, if I alter line 9 of Author.cs to a simple [Authorize], instead of the policy-based authorization, then the test fails.
This feels like a bug, since the test is providing a state with a user with an admin role, so it should pass a simple [Authorize] attribute.
I could be as well that something else is missing in the test setup to make the authorize work, but since the policy based authorization is working, I would think that a less complex authorize would work.
The text was updated successfully, but these errors were encountered: