-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathgithub-teams-repositoryaccess.json
101 lines (101 loc) · 2.48 KB
/
github-teams-repositoryaccess.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"typeName": "GitHub::Teams::RepositoryAccess",
"description": "Manage a team access to a repository in GitHub.",
"sourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git",
"documentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers",
"definitions": {
"GitHubAccess": {
"type": "object",
"properties": {
"AccessToken": {
"description": "Personal Access Token",
"type": "string"
}
},
"required": [
"AccessToken"
],
"additionalProperties": false
}
},
"typeConfiguration": {
"properties": {
"GitHubAccess": {
"$ref": "#/definitions/GitHubAccess"
}
},
"additionalProperties": false,
"required": [
"GitHubAccess"
]
},
"properties": {
"Org": {
"description": "The organization name. The name is not case sensitive.",
"type": "string"
},
"Team": {
"description": "The slug of the team name.",
"type": "string"
},
"Owner": {
"description": "The account owner of the repository. The name is not case sensitive.",
"type": "string"
},
"Repository": {
"description": "The name of the repository. The name is not case sensitive.",
"type": "string"
},
"Permission": {
"description": "The permission to grant the team on this repository. In addition to the enumerated values, you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's permission attribute will be used to determine what permission to grant the team on this repository.",
"type": "string",
"enum": [
"pull",
"push",
"admin",
"maintain",
"triage"
],
"default": "push"
}
},
"additionalProperties": false,
"tagging": {
"taggable": false
},
"required": [
"Org",
"Team",
"Owner",
"Repository"
],
"createOnlyProperties": [
"/properties/Org",
"/properties/Team",
"/properties/Owner",
"/properties/Repository"
],
"primaryIdentifier": [
"/properties/Org",
"/properties/Team",
"/properties/Owner",
"/properties/Repository"
],
"handlers": {
"create": {
"permissions": []
},
"read": {
"permissions": []
},
"update": {
"permissions": []
},
"delete": {
"permissions": []
},
"list": {
"permissions": []
}
}
}