Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Add "Change Owner" feature to CLI #9

@EricWittmann

Description

@EricWittmann

Feature or problem description

A recent change to the REST API for Registry is to allow the "owner" of an artifact to be changed. The owner is whichever user created the artifact. Now that the API supports modifying the owner, the CLI should support it as well.

This task is dependent on this PR:

Apicurio/apicurio-registry#2731

Proposed solution

The CLI should have a new action to allow the user to change the owner of an artifact. The action must support providing the Group and ArtifactID to identify the artifact. The Group can be optional and default to default.

Additional context

See the above PR for information about the new REST API endpoint that needs to be called.

Also note: only the current Owner of an artifact or any user with the Admin role is allowed to make this change.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions