Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit09c232a

Browse files
committed
Merge pull request#708 from github/revert-707-scrub-org-perms-preview
Revert "Remove ironman-preview notices from Enterprise 2.4 build"
2 parents9894cbe +710f305 commit09c232a

File tree

3 files changed

+0
-37
lines changed

3 files changed

+0
-37
lines changed

‎content/v3/orgs/members.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ Name | Type | Description
2525

2626
[2fa-blog]:https://github.com/blog/1614-two-factor-authentication
2727

28-
{{#not-enterprise}}
29-
3028
<divclass="alert">
3129
<p>
3230
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -38,8 +36,6 @@ Name | Type | Description
3836
</p>
3937
</div>
4038

41-
{{/not-enterprise}}
42-
4339
###Response
4440

4541
<%= headers 200,:pagination => default_pagination_rels %>

‎content/v3/orgs/teams.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ Name | Type | Description
4646
`privacy`|`string`| The level of privacy this team should have. Can be one of:<br/> *`secret` - only visible to organization owners and members of this team.<br/> *`closed` - visible to all members of this organization.<br/>Default:`secret`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
4747
`permission`|`string` |**Deprecated**. In the preview period described in the alert below, a team's`permission` attribute no longer dictates what permission it has on its repositories; it only dictates what permission the repositories in this request will be added with, and what permission a new repository will be added to the team with if none is specified by the user. Avoid confusion by specifying a`permission` when using the[Add team repository](/v3/orgs/teams/#add-team-repo) API instead.<br/><br/>The permission to grant the team. Can be one of:<br/> *`pull` - team members can pull, but not push to or administer these repositories.<br/> *`push` - team members can pull and push, but not administer these repositories.<br/> *`admin` - team members can pull, push and administer these repositories.<br/>Default:`pull`
4848

49-
{{#not-enterprise}}
50-
5149
<divclass="alert">
5250
<p>
5351
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -63,8 +61,6 @@ Name | Type | Description
6361
</p>
6462
</div>
6563

66-
{{/not-enterprise}}
67-
6864
####Example
6965

7066
<%= json\
@@ -93,8 +89,6 @@ Name | Type | Description
9389
`privacy`|`string`| The level of privacy this team should have. Can be one of:<br/> *`secret` - only visible to organization owners and members of this team.<br/> *`closed` - visible to all members of this organization.<br/>Default:`secret`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
9490
`permission`|`string` |**Deprecated**. In the preview period described in the alert below, a team's`permission` attribute no longer dictates what permission it has on its repositories; it only dictates what permission a new repository will be added to the team with if none is specified by the user. Avoid confusion by specifying a`permission` when using the[Add team repository](/v3/orgs/teams/#add-team-repo) API instead.<br/><br/>The permission to grant the team. Can be one of:<br/> *`pull` - team members can pull, but not push to or administer these repositories.<br/> *`push` - team members can pull and push, but not administer these repositories.<br/> *`admin` - team members can pull, push and administer these repositories. Default:`pull`
9591

96-
{{#not-enterprise}}
97-
9892
<divclass="alert">
9993
<p>
10094
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -110,8 +104,6 @@ Name | Type | Description
110104
</p>
111105
</div>
112106

113-
{{/not-enterprise}}
114-
115107
####Example
116108

117109
<%= json\
@@ -153,8 +145,6 @@ Name | Type | Description
153145
-----|------|--------------
154146
`role`|`string`| Filters members returned by their role in the team. Can be one of:<br/> *`member` - normal members of the team.<br/> *`maintainer` - team maintainers.<br/> *`all` - all members of the team.<br/>Default:`all`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
155147

156-
{{#not-enterprise}}
157-
158148
<divclass="alert">
159149
<p>
160150
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -166,8 +156,6 @@ Name | Type | Description
166156
</p>
167157
</div>
168158

169-
{{/not-enterprise}}
170-
171159
###Response
172160

173161
<%= headers 200,:pagination => default_pagination_rels %>
@@ -330,8 +318,6 @@ Name | Type | Description
330318
-----|------|--------------
331319
`role`|`string`| The role that this user should have in the team. Can be one of:<br/> *`member` - a normal member of the team.<br/> *`maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description.<br/>Default:`member`<br/>**This parameter requires a custom media type to be specified. Please see more in the alert below.**
332320

333-
{{#not-enterprise}}
334-
335321
<divclass="alert">
336322
<p>
337323
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -347,8 +333,6 @@ Name | Type | Description
347333
</p>
348334
</div>
349335

350-
{{/not-enterprise}}
351-
352336
###Response if user's membership with team is now active
353337

354338
<%= headers 200 %>
@@ -415,8 +399,6 @@ you will be able to list all repositories for the team.
415399

416400
###Alternative response with extra repository information
417401

418-
{{#not-enterprise}}
419-
420402
<divclass="alert">
421403
<p>
422404
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -434,8 +416,6 @@ permissions the team grants on it, by passing the following custom
434416

435417
Accept: application/vnd.github.ironman-preview.repository+json
436418

437-
{{/not-enterprise}}
438-
439419
<%= headers 200 %>
440420
<%= json:repo %>
441421

@@ -456,8 +436,6 @@ Name | Type | Description
456436

457437
<%= fetch_content(:optional_put_content_length) %>
458438

459-
{{#not-enterprise}}
460-
461439
<divclass="alert">
462440
<p>
463441
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -473,8 +451,6 @@ Name | Type | Description
473451
</p>
474452
</div>
475453

476-
{{/not-enterprise}}
477-
478454
###Response
479455

480456
<%= headers 204 %>

‎content/v3/repos/collaborators.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ collaborators list.
2323

2424
###Alternative response with extra repository information
2525

26-
27-
{{#not-enterprise}}
28-
2926
<divclass="alert">
3027
<p>
3128
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -37,8 +34,6 @@ collaborators list.
3734
</p>
3835
</div>
3936

40-
{{/not-enterprise}}
41-
4237
<%= headers 200,:pagination => default_pagination_rels %>
4338
<%= json(:collaborator) { |h|[h] } %>
4439

@@ -66,8 +61,6 @@ Name | Type | Description
6661

6762
<%= fetch_content(:optional_put_content_length) %>
6863

69-
{{#not-enterprise}}
70-
7164
<divclass="alert">
7265
<p>
7366
We're currently offering a preview period allowing applications to opt in to the Organization Permissions API. Please see the <a href="/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions/">blog post</a> for full details.
@@ -83,8 +76,6 @@ Name | Type | Description
8376
</p>
8477
</div>
8578

86-
{{/not-enterprise}}
87-
8879
###Response
8980

9081
<%= headers 204 %>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp