goharbor / harbor

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

a robot user without permissions breaks the frontend code on the project -> robot user tab #21233

Open rmalchow opened 8 hours ago

rmalchow commented 8 hours ago

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

Expected behavior and actual behavior: a robot user without permissions breaks the frontend code on the project -> robot user tab

Steps to reproduce the problem: create a robot user without selecting any permissions. then leave the tab and go back to it.

Versions:

Additional context:

inspect -> console in the browser give: "s.permissions[0] is undefined"