Uploaded image for project: 'Zanata'
  1. ZNTA-1596

Client command put-user demands too much info

    Details

    • Tested Version/s:
      None

      Description

      If the admin simply wants to disable a user, it should be enough to run:

      zanata-cli put-user --user-username djansen --user-disabled --username admin --key $KEY --url "http://localhost:8180"

      However:
      Option "--user-email" is required
      Option "--user-key" is required
      Option "--user-langs" is required
      Option "--user-name" is required
      Option "--user-passwordhash" is required
      Option "--user-roles" is required

      This is just far too much info to demand for such a straightforward request. The admin would have to break the account (password hash, apikey etc) as they can't get access to this information.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              djansen Damian Jansen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: