AuthPTagHelper for html anchor tag #50
hatuadevops
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
|
Nice! If you want to add this via a pull request, then put it in the AuthPermissions.BaseCode.PermissionsCode namespace and add a test in the TestPermissionChecker. Or you are not used to pull requests I can add this when I update the library. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@JonPSmith I thought of this whiles migrating an asp.net mvc 5 project to asp.net core 6.
Usage:
<a authp-haspermission="RoleChange" asp-controller="Roles" asp-action="Edit" asp-route-roleName="@item.RoleName">Edit</a>Beta Was this translation helpful? Give feedback.
All reactions