Skip to content

Commit d11ff4b

Browse files
tniessentargos
authored andcommitted
doc: improve fs permissions description
Fix a small grammatical mistake and improve the surrounding wording. PR-URL: #47596 Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
1 parent e3f4ff4 commit d11ff4b

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

doc/api/cli.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,9 @@ the [Permission Model][].
154154

155155
The valid arguments for the `--allow-fs-read` flag are:
156156

157-
* `*` - To allow the `FileSystemRead` operations.
158-
* Paths delimited by comma (,) to manage `FileSystemRead` (reading) operations.
157+
* `*` - To allow all `FileSystemRead` operations.
158+
* Paths delimited by comma (`,`) to allow only matching `FileSystemRead`
159+
operations.
159160

160161
Examples can be found in the [File System Permissions][] documentation.
161162

@@ -200,8 +201,9 @@ the [Permission Model][].
200201

201202
The valid arguments for the `--allow-fs-write` flag are:
202203

203-
* `*` - To allow the `FileSystemWrite` operations.
204-
* Paths delimited by comma (,) to manage `FileSystemWrite` (writing) operations.
204+
* `*` - To allow all `FileSystemWrite` operations.
205+
* Paths delimited by comma (`,`) to allow only matching `FileSystemWrite`
206+
operations.
205207

206208
Examples can be found in the [File System Permissions][] documentation.
207209

doc/api/permissions.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,10 @@ Hello world!
520520

521521
The valid arguments for both flags are:
522522

523-
* `*` - To allow the all operations to given scope (read/write).
524-
* Paths delimited by comma (,) to manage reading/writing operations.
523+
* `*` - To allow all `FileSystemRead` or `FileSystemWrite` operations,
524+
respectively.
525+
* Paths delimited by comma (`,`) to allow only matching `FileSystemRead` or
526+
`FileSystemWrite` operations, respectively.
525527

526528
Example:
527529

0 commit comments

Comments
 (0)