Add Project Member Management Commands#85
Conversation
|
Also you need to consider the group memberships, especially in the context of OIDC and LDAP a few things might behaive differently |
|
Thank you for bringing up group memberships. That is a valid point and crucial for comprehensive member management. I will take that into consideration as I continue to develop this feature. |
ambahman
left a comment
There was a problem hiding this comment.
Member cmd should be subcommand of the project .
|
I agree. lets follow the UI here. |
24b5c62 to
a19ce3c
Compare
|
Added & updated with new changes. Thanks. |
4a47106 to
7ad5782
Compare
|
Add Users or groups to project
Group Type
Conclusion My recommendation is that in the Wizard flow we should guide the user more. |
|
This needs to be reworked and adapted to the new code... |
|
Hey @bupd are you actively working on this? If you aren't, can I pick this up? |
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #85 +/- ##
=========================================
- Coverage 10.99% 7.69% -3.30%
=========================================
Files 173 222 +49
Lines 8671 12593 +3922
=========================================
+ Hits 953 969 +16
- Misses 7612 11519 +3907
+ Partials 106 105 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Signed-off-by: bupd <bupdprasanth@gmail.com>
Improves the member deletion workflow by refactoring the command-line interface and API handler. This change simplifies the user prompt and clarifies the deletion logic.
|
Hi, I am looking to contribute to this |
|
Hello @NucleoFusion, good to see that you are interested. We Need to rebase and update the PR to the current standards of the repo. |
|
This has been completely implemented in #540 |






Overview:
The current CLI lacks the ability to manage project members, a feature already present in the WebUI.
Adding a
membercommand will significantly enhance the CLI's functionality, making it a powerful tool for handling project members directly from the command line.This addition will facilitate easier and more efficient management of project members, aligning the CLI's capabilities with those of the WebUI.
New Commands:
The member command will include the following subcommands:
list: List all members in the project.
harbor member list <project_name_or_id>create: Create a new member in the project.
harbor member create <project_name_or_id>delete: Delete a member from the project.
harbor member delete <project_name_or_id> <member_id>view: View details of a specific member.
harbor member view <project_name_or_id> <member_id>update: Update an existing member in the project.
harbor member update <project_name_or_id> <member_id>This PR adds the commands to manage project members.