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

Commit40f12ae

Browse files
authored
chore: update group and role sync notes (#15658)
1 parent24d44b4 commit40f12ae

File tree

4 files changed

+21
-23
lines changed

4 files changed

+21
-23
lines changed

‎coderd/apidoc/docs.go‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎codersdk/idpsync.go‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ import (
1212
)
1313

1414
typeGroupSyncSettingsstruct {
15-
// Field selects the claim field to be used as the created user's
16-
// groups. If the group field is the empty string, then no group updates
17-
// will ever come from the OIDC provider.
15+
// Field is the name of the claim field that specifies what groups a user
16+
// should be in. If empty, no groups will be synced.
1817
Fieldstring`json:"field"`
19-
// Mappingmaps from anOIDCgroup --> Coder groupID
18+
// Mappingis a map fromOIDCgroups to Coder groupIDs
2019
Mappingmap[string][]uuid.UUID`json:"mapping"`
2120
// RegexFilter is a regular expression that filters the groups returned by
2221
// the OIDC provider. Any group not matched by this regex will be ignored.
@@ -62,11 +61,10 @@ func (c *Client) PatchGroupIDPSyncSettings(ctx context.Context, orgID string, re
6261
}
6362

6463
typeRoleSyncSettingsstruct {
65-
// Field selects the claim field to be used as the created user's
66-
// groups. If the group field is the empty string, then no group updates
67-
// will ever come from the OIDC provider.
64+
// Field is the name of the claim field that specifies what organization roles
65+
// a user should be given. If empty, no roles will be synced.
6866
Fieldstring`json:"field"`
69-
// Mappingmaps from anOIDCgroup --> Coder organizationrole
67+
// Mappingis a map fromOIDCgroups to Coder organizationroles.
7068
Mappingmap[string][]string`json:"mapping"`
7169
}
7270

‎docs/reference/api/schemas.md‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp