Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4328

Use logged user to commit any change

    XMLWordPrintable

Details

    • False
    • None
    • False
    • ---
    • ---
    • 2022 Week 23-25 (from Jun 6), 2022 Week 26-28 (from Jun 27), 2022 Week 29-31 (from Jul 18)

    Description

      Some changes on a project are created using the system user, exactly:

      • Create a repo
      • Import an asset

      Other operations (modify an asset) are always commit by the current logged user

      Is it possible to commit all changes from an user with its logged user?

      Here example of this system user on creation of a project from business central:

      See details on create project and importing an asset where system user is the author, and in create project local .gitconfig for user is the committer and system for import asset.

      ```
      commit 251bc5ec3397cbe259ef33c0f7122c77a484a137 (HEAD -> master)
      Author: rhpamAdmin <>
      Commit: rhpamAdmin <>
      
          Created asset WorkDefinitions.wid {/src/main/resources/com/space/test/WorkDefinitions.wid}
      
      global/.gitkeep
      global/customeditors.json
      global/defaultbusinessrulesicon.png
      global/defaultdecisionicon.png
      global/defaultemailicon.gif
      global/defaultlogicon.gif
      global/defaultmilestoneicon.png
      global/defaultservicenodeicon.png
      global/defaultsubcaseicon.png
      global/patterns.json
      global/themes.json
      src/main/resources/com/space/test/WorkDefinitions.wid
      
      commit b3ab7559864eb7871cfc4665017b211fae164e7f
      Author: system <system>
      Commit: system <system>
      
          {/src/main/resources/com/space/test/test.bpmn2}
      
      src/main/resources/com/space/test/test.bpmn2
      
      commit d7ea627b6387c375246e01b714c659dac7714849
      Author: system <system>
      Commit: system <system>
      
          {/project.repositories}
      
      project.repositories
      
      commit 10d60519c0ff8a3de0c593c4d7031da38b7bf12a
      Author: rhpamAdmin <>
      Commit: rhpamAdmin <>
      
          Adding module directories
      
      src/main/java/com/space/test/.gitkeep
      src/main/resources/com/space/test/.gitkeep
      src/test/java/com/space/test/.gitkeep
      src/test/resources/com/space/test/.gitkeep
      
      commit 9ab5dce91cdcf13b1b72ff06e0dabb53049a4af0
      Author: rhpamAdmin <>
      Commit: rhpamAdmin <>
      
          Updating the POM file
      
      pom.xml
      
      commit 15ed012a9e276450aa01bcc6e35f6eed4e026259
      Author: system <system>
      Commit: Alberto <albfan>
      
          Initial commit
      
      package-names-allow-list
      pom.xml
      project.imports
      project.repositories
      readme.md
      src/main/resources/META-INF/kmodule.xml
      ```
      

      Attachments

        Activity

          People

            eignatow Eder Ignatowicz
            afanjula@redhat.com Alberto Fanjul Alonso
            Tomas David Tomas David
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: