Closed rhuss closed 7 years ago
Would it be OK to use the hash of the username or do we need the username to be legible?
hash would be ok (if its sane)
Why use a hash and not something that is readable. We already have Names.sanitizeName() which should be enough for this.
Currently on staging:
which means that the username cannot uncoditionally used as label.
However the bigger issue is, that this is used to count the objects per syndesis user to enforce a limit. The limit which we are needing however is a global limit so that you can not have more than e.g. 1 integration per namespace / project. So the actual fix should be to use a global limit.