goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
23.61k stars 4.72k forks source link

Not able to assign roles and users to the groups #20780

Closed ujala-singh closed 1 month ago

ujala-singh commented 1 month ago

If you are reporting a problem, please make sure the following information are provided:

Expected behavior and actual behavior:

  1. I want to assign roles to groups that I have created on harbor but I am not able to do it, I can just create Users.
  2. I want to assign users to groups that I have created on harbor but I am not able to do it, I can just create Users.

Versions: v2.11.0

Additional context:

Screenshot 2024-07-26 at 10 11 21 PM
Kajot-dev commented 1 month ago

You assign roles to groups on the project level, in the "members" tab, not here

ujala-singh commented 1 month ago

And how can I assign users to the groups?

Kajot-dev commented 1 month ago

I see you are using OIDC, this is done via groups claim which can be configured in OIDC settings. Groups must be set on the OIDC provider side. Groups will be created and assigned to users autpmatically as they log in

ujala-singh commented 1 month ago

@Kajot-dev I tried to do that via OIDC server, but it's failing. I have raised an issue for that as well here https://github.com/goharbor/harbor/issues/20779

zyyw commented 1 month ago

let's we use this issue to track it: