Open dahlbyk opened 1 year ago
I recently encountered a situation where I wanted to show something if the user doesn't satisfy a policy, e.g.
<button class="btn" asp-authz-policy="AdminPolicy>Delete</button> <span class="btn btn-disabled" asp-authz-not-policy="AdminPolicy">Delete</span>
Does asp-authz-not-policy seem reasonable to implement?
asp-authz-not-policy
Sure, it would just be checking if the user doesn't pass a given authz policy.
I recently encountered a situation where I wanted to show something if the user doesn't satisfy a policy, e.g.
Does
asp-authz-not-policy
seem reasonable to implement?