Skip to content

Implement Group and Role Sync CLI #14687

Closed
@Kira-Pilot

Description

@Kira-Pilot

We need to create a CLI where users can handle Group and Role sync CRUD operations. For now, we are going to handle update and read and will defer other operations until after GA.

Requirements

  • accepts a JSON file as an input
  • reads JSON back to user

API Endpoint to read:

// @Summary Get group IdP Sync settings by organization
// @ID get-group-idp-sync-settings-by-organization
// @Security CoderSessionToken
// @Produce json
// @Tags Enterprise
// @Param organization path string true "Organization ID" format(uuid)
// @Success 200 {object} idpsync.GroupSyncSettings
// @Router /organizations/{organization}/settings/idpsync/groups [get]
func (api *API) groupIDPSyncSettings(rw http.ResponseWriter, r *http.Request) {

Note: Experience will intentionally be minimal for GA. UX can be improved after GA.

Metadata

Metadata

Assignees

Labels

cliArea: CLIneed-backendIssues that need backend work

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions