Skip to content

Commit

Permalink
fix: GET /scim/v2/orgs/{org}/Users and `GET /scim/v2/orgs/{org}/Use…
Browse files Browse the repository at this point in the history
…rs/{external_identity_guid}` routes require `members:write`, not `members:read` (#119)
  • Loading branch information
octokitbot authored Aug 13, 2022
1 parent 8f2137f commit c2e38b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cache/api.github.com.html
Original file line number Diff line number Diff line change
Expand Up @@ -2892,7 +2892,7 @@ <h3 id="permission-on-members">
<a href="/en/rest/reference/scim#list-scim-provisioned-identities"
><code>GET /scim/v2/orgs/:org/Users</code></a
>
(:read)
(:write)
</li>
<li>
<a href="/en/rest/reference/scim#provision-and-invite-a-scim-user"
Expand All @@ -2905,7 +2905,7 @@ <h3 id="permission-on-members">
href="/en/rest/reference/scim#get-scim-provisioning-information-for-a-user"
><code>GET /scim/v2/orgs/:org/Users/:external_identity_guid</code></a
>
(:read)
(:write)
</li>
<li>
<a
Expand Down
8 changes: 4 additions & 4 deletions generated/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,6 @@
"GET /orgs/{org}/team/{team_id}",
"GET /orgs/{org}/teams",
"GET /orgs/{org}/teams/{team_slug}",
"GET /scim/v2/orgs/{org}/Users",
"GET /scim/v2/orgs/{org}/Users/{external_identity_guid}",
"GET /teams/{team_id}/invitations",
"GET /teams/{team_id}/members",
"GET /teams/{team_id}/memberships/{username}",
Expand All @@ -457,6 +455,8 @@
"DELETE /teams/{team_id}/repos/{owner}/{repo}",
"GET /organizations/{org_id}/team/{team_id}/team-sync/group-mappings",
"GET /orgs/{org}/team-sync/groups",
"GET /scim/v2/orgs/{org}/Users",
"GET /scim/v2/orgs/{org}/Users/{external_identity_guid}",
"PATCH /organizations/{org_id}/team/{team_id}/team-sync/group-mappings",
"PATCH /scim/v2/orgs/{org}/Users/{external_identity_guid}",
"PATCH /teams/{team_id}",
Expand Down Expand Up @@ -1525,11 +1525,11 @@
"GET": { "permission": "members", "access": "read" }
},
"/scim/v2/orgs/{org}/Users": {
"GET": { "permission": "members", "access": "read" },
"GET": { "permission": "members", "access": "write" },
"POST": { "permission": "members", "access": "write" }
},
"/scim/v2/orgs/{org}/Users/{external_identity_guid}": {
"GET": { "permission": "members", "access": "read" },
"GET": { "permission": "members", "access": "write" },
"PUT": { "permission": "members", "access": "write" },
"PATCH": { "permission": "members", "access": "write" },
"DELETE": { "permission": "members", "access": "write" }
Expand Down

0 comments on commit c2e38b8

Please sign in to comment.