Skip to content

Commit

Permalink
docs(authorization): Fix gender neutral wording (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanghvian authored Feb 7, 2022
1 parent aeb68a5 commit 8d94e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const customAuthChecker: AuthChecker<ContextType> = (
roles,
) => {
// here we can read the user from context
// and check his permission in the db against the `roles` argument
// and check the user's permission in the db against the `roles` argument
// that comes from the `@Authorized` decorator, eg. ["ADMIN", "MODERATOR"]

return true; // or false if access is denied
Expand Down

0 comments on commit 8d94e91

Please sign in to comment.