Skip to content

Conversation

@JenySadadia
Copy link
Collaborator

@JenySadadia JenySadadia commented Nov 28, 2023

Depends on kernelci/kernelci-api#421

Add below commands to manage user groups as per the discussion kernelci/kernelci-project#263:
kci user group find
kci user group add
kci user group join
kci user group leave
kci user group delete

Fixes: #2084

Jeny Sadadia added 2 commits November 28, 2023 12:39
Add/rework commands to manage user groups. Commands have
been added to perform activities such as find
group, add group, add user to a group, and leave a user group.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
All the `kci user` commands have been reworked and
added to `kernelci.cli` module. Hence remove
the `user.py` from the legacy CLI module i.e.
`kernelci.legacy.cli`.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Add a command to delete a user group. Only admin
users will be allowed to perform the delete operation.
Implement `Base._delete` method to send HTTP delete
requests.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
Copy link
Collaborator

@gctucker gctucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK following the merge-and-fix approach to untangle the various pending PRs and conflicts with kernelci-api related changes.

@gctucker gctucker added this pull request to the merge queue Dec 5, 2023
Merged via the queue into kernelci:main with commit 8162cad Dec 5, 2023
@JenySadadia JenySadadia deleted the kci-user-group branch December 5, 2023 09:57
@gctucker gctucker mentioned this pull request Dec 15, 2023
40 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add kci commands for managing user groups

2 participants