REST API username is a two word prefix

XMLWordPrintable

      Currently COmanage assumes that the CO name is going to be only one word. But what if the CO name is more than one words. The the prefix is going to consist of many words and this is actually not a prefix, e.g.

      -[ RECORD 2 ]-+-----------------------------------------
      id            | 3
      username      | EGI Community.ioigoume
      password      | 24da05d20371307b45bb2f15980d398c02d2bec9
      created       | 2019-12-23 08:15:14
      modified      | 2019-12-23 08:15:21
      co_id         | 2
      privileged    | t
      status        | A
      valid_from    | 
      valid_through | 
      remote_ip     | 
      

      .A solution could be to retrieve the CO name and create one word having only lower alphanumerics and `_`. The above would become:

      username      | egi_community.ioigoume
      

            Assignee:
            Ioannis Eythymios Igoumenos (Inactive)
            Reporter:
            Ioannis Eythymios Igoumenos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: