-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Robot accounts still does not have full permissions #19792
Comments
Adding to this: according to the proposal, robot accounts were expected to be getting read permissions on quota in 2.10. It seems however like this wasn't implemented in the end. I've confirmed this by testing on my local 2.10 instance to make sure it wasn't just a case of forgetting to document it. |
Fix goharbor#19792 Signed-off-by: Yang Jiao <[email protected]>
Fix goharbor#19792 Signed-off-by: Yang Jiao <[email protected]>
Fix goharbor#19792 Signed-off-by: Yang Jiao <[email protected]>
Fix goharbor#19792 Signed-off-by: Yang Jiao <[email protected]>
Fix #19792 Signed-off-by: Yang Jiao <[email protected]> Co-authored-by: Yang Jiao <[email protected]>
Add quota permissions to robot account Fix #19792 Signed-off-by: Yang Jiao <[email protected]> Co-authored-by: Yang Jiao <[email protected]>
@YangJiao0817 I think you have skipped our request? |
Fix goharbor#19792 Signed-off-by: Yang Jiao <[email protected]> Co-authored-by: Yang Jiao <[email protected]> Signed-off-by: Altynbaev Dinislam <[email protected]>
I've tested this on 2.10.0. It doesn't work. Still getting unauthorised. |
My understanding is that this patch will be part of the next release. |
I created a new robot with full permission on system and project level and tested it with Terraform. It get much less errors like before, but I still get some errors. Is that expected?
Expected Behavior
I would expect that since this [issue
](https: //github.com//issues/8723) has been implemented, I would be able to manage all harbor terraform resources with the newly created robot-account with full permissions.
Current Behavior
I get the error message that robot accounts, harbor_config_auth and config_system cannot be edited with the robot account. In the following snippet, terraform would like to create an already existing robot-account (it exists and was created before with terraform).
Steps to Reproduce
Context
At the moment we use the admin credentials of Harbor to manage it with Terraform, but we would like to use a dedicated robot-account for it.
Your Environment
Harbor Server Version: v2.10.0-6abb4eab
Terraform version: Terraform v1.5.7
Harbor Terraform Provider: 3.10.5
The text was updated successfully, but these errors were encountered: