File tree Expand file tree Collapse file tree 27 files changed +135
-26
lines changed
permissions/autogenerated/base-directories Expand file tree Collapse file tree 27 files changed +135
-26
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " fs " : patch:enhance
3
+ ---
4
+
5
+ The ` scope-*-recursive ` permissions now also allow reading the contents of the directory.
Original file line number Diff line number Diff line change @@ -111,13 +111,17 @@ fn main() {
111
111
identifier = "scope-{lower}-recursive"
112
112
description = "This scope permits recursive access to the complete `${upper}` folder, including sub directories and files."
113
113
114
+ [[permission.scope.allow]]
115
+ path = "${upper}"
114
116
[[permission.scope.allow]]
115
117
path = "${upper}/**"
116
118
117
119
[[permission]]
118
120
identifier = "scope-{lower}"
119
121
description = "This scope permits access to all files and list content of top level directories in the `${upper}`folder."
120
122
123
+ [[permission.scope.allow]]
124
+ path = "${upper}"
121
125
[[permission.scope.allow]]
122
126
path = "${upper}/*"
123
127
@@ -126,7 +130,7 @@ identifier = "scope-{lower}-index"
126
130
description = "This scope permits to list all files and folders in the `${upper}`folder."
127
131
128
132
[[permission.scope.allow]]
129
- path = "${upper}/ "
133
+ path = "${upper}"
130
134
131
135
# Sets Section
132
136
# This section combines the scope elements with enablement of commands
Original file line number Diff line number Diff line change 9
9
identifier = " scope-app-recursive"
10
10
description = " This scope permits recursive access to the complete `$APP` folder, including sub directories and files."
11
11
12
+ [[permission .scope .allow ]]
13
+ path = " $APP"
12
14
[[permission .scope .allow ]]
13
15
path = " $APP/**"
14
16
15
17
[[permission ]]
16
18
identifier = " scope-app"
17
19
description = " This scope permits access to all files and list content of top level directories in the `$APP`folder."
18
20
21
+ [[permission .scope .allow ]]
22
+ path = " $APP"
19
23
[[permission .scope .allow ]]
20
24
path = " $APP/*"
21
25
@@ -24,7 +28,7 @@ identifier = "scope-app-index"
24
28
description = " This scope permits to list all files and folders in the `$APP`folder."
25
29
26
30
[[permission .scope .allow ]]
27
- path = " $APP/ "
31
+ path = " $APP"
28
32
29
33
# Sets Section
30
34
# This section combines the scope elements with enablement of commands
Original file line number Diff line number Diff line change 9
9
identifier = " scope-appcache-recursive"
10
10
description = " This scope permits recursive access to the complete `$APPCACHE` folder, including sub directories and files."
11
11
12
+ [[permission .scope .allow ]]
13
+ path = " $APPCACHE"
12
14
[[permission .scope .allow ]]
13
15
path = " $APPCACHE/**"
14
16
15
17
[[permission ]]
16
18
identifier = " scope-appcache"
17
19
description = " This scope permits access to all files and list content of top level directories in the `$APPCACHE`folder."
18
20
21
+ [[permission .scope .allow ]]
22
+ path = " $APPCACHE"
19
23
[[permission .scope .allow ]]
20
24
path = " $APPCACHE/*"
21
25
@@ -24,7 +28,7 @@ identifier = "scope-appcache-index"
24
28
description = " This scope permits to list all files and folders in the `$APPCACHE`folder."
25
29
26
30
[[permission .scope .allow ]]
27
- path = " $APPCACHE/ "
31
+ path = " $APPCACHE"
28
32
29
33
# Sets Section
30
34
# This section combines the scope elements with enablement of commands
Original file line number Diff line number Diff line change 9
9
identifier = " scope-appconfig-recursive"
10
10
description = " This scope permits recursive access to the complete `$APPCONFIG` folder, including sub directories and files."
11
11
12
+ [[permission .scope .allow ]]
13
+ path = " $APPCONFIG"
12
14
[[permission .scope .allow ]]
13
15
path = " $APPCONFIG/**"
14
16
15
17
[[permission ]]
16
18
identifier = " scope-appconfig"
17
19
description = " This scope permits access to all files and list content of top level directories in the `$APPCONFIG`folder."
18
20
21
+ [[permission .scope .allow ]]
22
+ path = " $APPCONFIG"
19
23
[[permission .scope .allow ]]
20
24
path = " $APPCONFIG/*"
21
25
@@ -24,7 +28,7 @@ identifier = "scope-appconfig-index"
24
28
description = " This scope permits to list all files and folders in the `$APPCONFIG`folder."
25
29
26
30
[[permission .scope .allow ]]
27
- path = " $APPCONFIG/ "
31
+ path = " $APPCONFIG"
28
32
29
33
# Sets Section
30
34
# This section combines the scope elements with enablement of commands
Original file line number Diff line number Diff line change 9
9
identifier = " scope-appdata-recursive"
10
10
description = " This scope permits recursive access to the complete `$APPDATA` folder, including sub directories and files."
11
11
12
+ [[permission .scope .allow ]]
13
+ path = " $APPDATA"
12
14
[[permission .scope .allow ]]
13
15
path = " $APPDATA/**"
14
16
15
17
[[permission ]]
16
18
identifier = " scope-appdata"
17
19
description = " This scope permits access to all files and list content of top level directories in the `$APPDATA`folder."
18
20
21
+ [[permission .scope .allow ]]
22
+ path = " $APPDATA"
19
23
[[permission .scope .allow ]]
20
24
path = " $APPDATA/*"
21
25
@@ -24,7 +28,7 @@ identifier = "scope-appdata-index"
24
28
description = " This scope permits to list all files and folders in the `$APPDATA`folder."
25
29
26
30
[[permission .scope .allow ]]
27
- path = " $APPDATA/ "
31
+ path = " $APPDATA"
28
32
29
33
# Sets Section
30
34
# This section combines the scope elements with enablement of commands
Original file line number Diff line number Diff line change 9
9
identifier = " scope-applocaldata-recursive"
10
10
description = " This scope permits recursive access to the complete `$APPLOCALDATA` folder, including sub directories and files."
11
11
12
+ [[permission .scope .allow ]]
13
+ path = " $APPLOCALDATA"
12
14
[[permission .scope .allow ]]
13
15
path = " $APPLOCALDATA/**"
14
16
15
17
[[permission ]]
16
18
identifier = " scope-applocaldata"
17
19
description = " This scope permits access to all files and list content of top level directories in the `$APPLOCALDATA`folder."
18
20
21
+ [[permission .scope .allow ]]
22
+ path = " $APPLOCALDATA"
19
23
[[permission .scope .allow ]]
20
24
path = " $APPLOCALDATA/*"
21
25
@@ -24,7 +28,7 @@ identifier = "scope-applocaldata-index"
24
28
description = " This scope permits to list all files and folders in the `$APPLOCALDATA`folder."
25
29
26
30
[[permission .scope .allow ]]
27
- path = " $APPLOCALDATA/ "
31
+ path = " $APPLOCALDATA"
28
32
29
33
# Sets Section
30
34
# This section combines the scope elements with enablement of commands
Original file line number Diff line number Diff line change 9
9
identifier = " scope-applog-recursive"
10
10
description = " This scope permits recursive access to the complete `$APPLOG` folder, including sub directories and files."
11
11
12
+ [[permission .scope .allow ]]
13
+ path = " $APPLOG"
12
14
[[permission .scope .allow ]]
13
15
path = " $APPLOG/**"
14
16
15
17
[[permission ]]
16
18
identifier = " scope-applog"
17
19
description = " This scope permits access to all files and list content of top level directories in the `$APPLOG`folder."
18
20
21
+ [[permission .scope .allow ]]
22
+ path = " $APPLOG"
19
23
[[permission .scope .allow ]]
20
24
path = " $APPLOG/*"
21
25
@@ -24,7 +28,7 @@ identifier = "scope-applog-index"
24
28
description = " This scope permits to list all files and folders in the `$APPLOG`folder."
25
29
26
30
[[permission .scope .allow ]]
27
- path = " $APPLOG/ "
31
+ path = " $APPLOG"
28
32
29
33
# Sets Section
30
34
# This section combines the scope elements with enablement of commands
Original file line number Diff line number Diff line change 9
9
identifier = " scope-audio-recursive"
10
10
description = " This scope permits recursive access to the complete `$AUDIO` folder, including sub directories and files."
11
11
12
+ [[permission .scope .allow ]]
13
+ path = " $AUDIO"
12
14
[[permission .scope .allow ]]
13
15
path = " $AUDIO/**"
14
16
15
17
[[permission ]]
16
18
identifier = " scope-audio"
17
19
description = " This scope permits access to all files and list content of top level directories in the `$AUDIO`folder."
18
20
21
+ [[permission .scope .allow ]]
22
+ path = " $AUDIO"
19
23
[[permission .scope .allow ]]
20
24
path = " $AUDIO/*"
21
25
@@ -24,7 +28,7 @@ identifier = "scope-audio-index"
24
28
description = " This scope permits to list all files and folders in the `$AUDIO`folder."
25
29
26
30
[[permission .scope .allow ]]
27
- path = " $AUDIO/ "
31
+ path = " $AUDIO"
28
32
29
33
# Sets Section
30
34
# This section combines the scope elements with enablement of commands
Original file line number Diff line number Diff line change 9
9
identifier = " scope-cache-recursive"
10
10
description = " This scope permits recursive access to the complete `$CACHE` folder, including sub directories and files."
11
11
12
+ [[permission .scope .allow ]]
13
+ path = " $CACHE"
12
14
[[permission .scope .allow ]]
13
15
path = " $CACHE/**"
14
16
15
17
[[permission ]]
16
18
identifier = " scope-cache"
17
19
description = " This scope permits access to all files and list content of top level directories in the `$CACHE`folder."
18
20
21
+ [[permission .scope .allow ]]
22
+ path = " $CACHE"
19
23
[[permission .scope .allow ]]
20
24
path = " $CACHE/*"
21
25
@@ -24,7 +28,7 @@ identifier = "scope-cache-index"
24
28
description = " This scope permits to list all files and folders in the `$CACHE`folder."
25
29
26
30
[[permission .scope .allow ]]
27
- path = " $CACHE/ "
31
+ path = " $CACHE"
28
32
29
33
# Sets Section
30
34
# This section combines the scope elements with enablement of commands
You can’t perform that action at this time.
0 commit comments