We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeb68a5 commit 8d94e91Copy full SHA for 8d94e91
docs/authorization.md
@@ -76,7 +76,7 @@ export const customAuthChecker: AuthChecker<ContextType> = (
76
roles,
77
) => {
78
// here we can read the user from context
79
- // and check his permission in the db against the `roles` argument
+ // and check the user's permission in the db against the `roles` argument
80
// that comes from the `@Authorized` decorator, eg. ["ADMIN", "MODERATOR"]
81
82
return true; // or false if access is denied
0 commit comments