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
Using the CompositeView component in Vue, when putting the [Authorize] attribute on a VM that connects using the Scope element, the corresponding AuthorizeFilter doesn't get executed.
1: Add [Authorize] on the CompositeViewVM class.
2. Put a breakpoint on the "var principal" line in the AuthorzieFilter class.
3: Debug to run the solution.
4: Visit the CompositeView sample. The breakpoint doesn't pause the execution.
5. Stop debugging.
Now, if you put the [Authorize] attribute on the MovieTableVM class, the breakpoint will pause execution. The difference is that the MovieTableVM is connected using the "vm.connect" API.
The text was updated successfully, but these errors were encountered:
Using the CompositeView component in Vue, when putting the [Authorize] attribute on a VM that connects using the Scope element, the corresponding AuthorizeFilter doesn't get executed.
1: Add [Authorize] on the CompositeViewVM class.
2. Put a breakpoint on the "var principal" line in the AuthorzieFilter class.
3: Debug to run the solution.
4: Visit the CompositeView sample. The breakpoint doesn't pause the execution.
5. Stop debugging.
Now, if you put the [Authorize] attribute on the MovieTableVM class, the breakpoint will pause execution. The difference is that the MovieTableVM is connected using the "vm.connect" API.
The text was updated successfully, but these errors were encountered: