Skip to content

Commit 1f50248

Browse files
committed
list is just a form of read so remove that scope
1 parent 75ad95f commit 1f50248

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

products/server/product.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ Parameters:
2929
- 'true'
3030
- 'false'
3131
Default: 'true'
32-
ListActionAvailable:
33-
Type: String
34-
Description: Whether the list scope is available
35-
AllowedValues:
36-
- 'true'
37-
- 'false'
38-
Default: 'true'
3932
AdminActionAvailable:
4033
Type: String
4134
Description: Whether the admin scope is available
@@ -47,7 +40,6 @@ Parameters:
4740
Conditions:
4841
HasReadAction: !Equals [!Ref ReadActionAvailable, 'true']
4942
HasWriteAction: !Equals [!Ref WriteActionAvailable, 'true']
50-
HasListAction: !Equals [!Ref ListActionAvailable, 'true']
5143
HasAdminAction: !Equals [!Ref AdminActionAvailable, 'true']
5244

5345
Resources:
@@ -68,11 +60,6 @@ Resources:
6860
- ScopeName: !Sub '${ScopeName}.write'
6961
ScopeDescription: Write access
7062
- Ref: AWS::NoValue
71-
- Fn::If:
72-
- HasListAction
73-
- ScopeName: !Sub '${ScopeName}.list'
74-
ScopeDescription: List access
75-
- Ref: AWS::NoValue
7663
- Fn::If:
7764
- HasAdminAction
7865
- ScopeName: !Sub '${ScopeName}.admin'

0 commit comments

Comments
 (0)