@@ -167,8 +167,12 @@ Entry 8 =
167
167
Entry Input = 'http://schemas.taskcluster.net/auth/v1/create-role-request.json#'
168
168
Entry Output = 'http://schemas.taskcluster.net/auth/v1/get-role-response.json#'
169
169
Entry Title = 'Create Role'
170
- Entry Description = 'Create a new role. If there already exists a role with the same `roleId`
171
- this operation will fail. Use `updateRole` to modify an existing role'
170
+ Entry Description = 'Create a new role.
171
+
172
+ The caller's scopes must satisfy the new role's scopes.
173
+
174
+ If there already exists a role with the same `roleId` this operation
175
+ will fail. Use `updateRole` to modify an existing role.'
172
176
Entry 9 =
173
177
Entry Type = 'function'
174
178
Entry Method = 'post'
@@ -179,7 +183,10 @@ Entry 9 =
179
183
Entry Input = 'http://schemas.taskcluster.net/auth/v1/create-role-request.json#'
180
184
Entry Output = 'http://schemas.taskcluster.net/auth/v1/get-role-response.json#'
181
185
Entry Title = 'Update Role'
182
- Entry Description = 'Update existing role.'
186
+ Entry Description = 'Update an existing role.
187
+
188
+ The caller's scopes must satisfy all of the new scopes being added, but
189
+ need not satisfy all of the client's existing scopes.'
183
190
Entry 10 =
184
191
Entry Type = 'function'
185
192
Entry Method = 'delete'
@@ -593,7 +600,7 @@ Properties
593
600
Description = 'AccessToken used for authenticating requests, you should store this
594
601
you won't be able to retrive it again!
595
602
'
596
- Pattern = '^[a-zA-Z0-9-_ ]{22,66}$'
603
+ Pattern = '^[a-zA-Z0-9_- ]{22,66}$'
597
604
Type = 'string'
598
605
TypeName = 'accessToken'
599
606
IsInputSchema = 'false'
@@ -602,7 +609,7 @@ Properties
602
609
Property 'clientId' =
603
610
Description = 'ClientId of the client
604
611
'
605
- Pattern = '^[a-zA-Z0-9-_]{1,22} $'
612
+ Pattern = '^[A-Za-z0-9@/:._-]+ $'
606
613
Type = 'string'
607
614
TypeName = 'clientId'
608
615
IsInputSchema = 'false'
@@ -749,7 +756,7 @@ Items
749
756
Property 'accessToken' =
750
757
Description = 'AccessToken used for authenticating requests
751
758
'
752
- Pattern = '^[a-zA-Z0-9-_ ]{22,66}$'
759
+ Pattern = '^[a-zA-Z0-9_- ]{22,66}$'
753
760
Type = 'string'
754
761
TypeName = 'accessToken'
755
762
IsInputSchema = 'false'
@@ -837,7 +844,7 @@ Properties
837
844
Property 'clientId' =
838
845
Description = 'ClientId of the client scopes is requested about
839
846
'
840
- Pattern = '^[a-zA-Z0-9-_]{1,22} $'
847
+ Pattern = '^[A-Za-z0-9@/:._-]+ $'
841
848
Type = 'string'
842
849
TypeName = 'clientId'
843
850
IsInputSchema = 'false'
@@ -985,6 +992,7 @@ Properties
985
992
Property 'roleId' =
986
993
Description = 'roleId of the role requested
987
994
'
995
+ Pattern = '^[\x20-\x7e]+$'
988
996
Type = 'string'
989
997
TypeName = 'roleId'
990
998
IsInputSchema = 'false'
0 commit comments