Skip to content

Commit

Permalink
Fixed error in docs. (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgernand authored Mar 22, 2023
1 parent 0aac673 commit b60dfbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ builder.Services

There are several ways to rescript access in your application.

1. Use the ```[Authorize]``` attribute to restrict access to controller actions.
1. Use the ```[HasPermission]``` attribute to restrict access to controller actions.
2. Use the ```HasPermission()``` extension method with a ```ClaimsPrincipal``` instance.
3. Use the ```HasPermission()``` method of a ```IUserPermissionsService``` instance.

Expand Down

0 comments on commit b60dfbb

Please sign in to comment.