Skip to content

Commit 13da7cf

Browse files
committed
Clarify chaining of builder functions
1 parent 2eb2e75 commit 13da7cf

File tree

1 file changed

+2
-1
lines changed
  • content/en/docs/reference/using-api

1 file changed

+2
-1
lines changed

content/en/docs/reference/using-api/cel.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ the authorizer may be used to perform authorization checks for the principal
153153
API resource checks are performed as follows:
154154

155155
1. Specify the group and resource to check: `Authorizer.group(string).resource(string) ResourceCheck`
156-
2. Optionally call any combination of the following to further narrow the authorization check:
156+
2. Optionally call any combination of the following builder functions to further narrow the authorization check.
157+
Note that these functions return the receiver type and can be chained:
157158
- `ResourceCheck.subresource(string) ResourceCheck`
158159
- `ResourceCheck.namespace(string) ResourceCheck`
159160
- `ResourceCheck.name(string) ResourceCheck`

0 commit comments

Comments
 (0)