Skip to content

Commit 9a7b971

Browse files
authored
doc: improve fs permissions description
Fix a small grammatical mistake and improve the surrounding wording. PR-URL: #47596 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
1 parent 4956271 commit 9a7b971

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

doc/api/cli.md

+6-4
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

+4-2
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)