Skip to content

Commit d497eaf

Browse files
authored
chore: add single quotes around the permission and resource in suggested message (#1492)
1 parent 8714ee3 commit d497eaf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aip/general/0211.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ authorization.
2323

2424
If a request can not pass the authorization check for any reason, the service
2525
**must** error with `PERMISSION_DENIED`, and the corresponding error message
26-
**should** look like: "Permission `{p}` denied on resource `{r}` (or it might
27-
not exist)." This avoids leaking resource existence.
26+
**should** look like: "Permission '`{p}`' denied on resource '`{r}`' (or it
27+
might not exist)." This avoids leaking resource existence.
2828

2929
If it is not possible to determine authorization for a resource because the
3030
resource does not exist, the service **should** check authorization to read

0 commit comments

Comments
 (0)