Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4821

Plugin ConnectWorldserver: assign customer to auto-created user

XMLWordPrintable

    • Medium
    • Hide
      Plugin ConnectWorldserver:
      assign the customer of the task the auto-created user
      Show
      Plugin ConnectWorldserver: assign the customer of the task the auto-created user

      Problem

      currently auto-created user are not assigned to any customer.

      Solution

      assign the customer of the task the auto-created user comes with.

      Addition

      user roles of auto-created user is currently:

      public const T5_AUTOUSER_ROLES = ['editor'];
      

      "taskOverview" should be added, as lately also done/needed in T5Connect.

      Testing

      can be done by calling
      /editor/plugins_connectworldserver/wsnotification?wsTaskId=callByTest
      /editor/plugins_connectworldserver/wsnotification/pretranslation?wsTaskId=callByTest

      and check if:

      • customer "translate5" is created
      • project is assigned to this customer
      • two user "fake.name@e-fake.com" (PM) and "Stephan@MittagQI.com" (ConnectWorldserver Review) are created and assigned to this customer. For pretranslation, only PM-user is created.

            Stephan Stephan Bergmann
            Stephan Stephan Bergmann
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: