Skip to content
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

Feature Request: Allow Robot Accounts to manage Robots! #20110

Closed
pmeyer34 opened this issue Mar 8, 2024 · 2 comments
Closed

Feature Request: Allow Robot Accounts to manage Robots! #20110

pmeyer34 opened this issue Mar 8, 2024 · 2 comments

Comments

@pmeyer34
Copy link

pmeyer34 commented Mar 8, 2024

Hi,

I would like to create a "super" robot that can create/update/list robots.

i've seen this comment but the robot resources seems to be missing.

if i try this payload when creating a new robot :

{
  "name": "test-robot",
  "duration": 30,
  "description": "test",
  "disable": false,
  "level": "system",
  "permissions": [
    {
      "kind": "system",
      "namespace": "/",
      "access": [{ "resource": "robot", "action": "*" }]
    }
  ]
}

i have this error :

{
  "errors": [
    {
      "code": "BAD_REQUEST",
      "message": "bad request permission: robot:*"
    }
  ]
}
@MinerYang
Copy link
Contributor

Hi @pmeyer34 ,

Please refer to this comment on robot account usage in harbor
#20076 (comment)

@pmeyer34
Copy link
Author

hello, thanks i haven't seen this issue.
I have exactly the same use case of #20076 so i can close this one and follow up the other one.

@pmeyer34 pmeyer34 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
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

No branches or pull requests

2 participants