Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20073

Add an action to allow moving credentials between credential domains

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • credentials-plugin
    • None

      Users need to be able to move credentials from the global domain into the appropriate domain, or vice-versa... need a basic move to different domain support

          [JENKINS-20073] Add an action to allow moving credentials between credential domains

          Code changed in jenkins
          User: Stephen Connolly
          Path:
          src/images/move.svg
          src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java
          src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/move.jelly
          src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/move.properties
          src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/sidepanel.jelly
          src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/update.jelly
          src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/DomainWrapper/configure.jelly
          src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/DomainWrapper/newCredentials.jelly
          src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/newDomain.jelly
          src/main/webapp/images/16x16/move.png
          src/main/webapp/images/24x24/move.png
          src/main/webapp/images/32x32/move.png
          src/main/webapp/images/48x48/move.png
          http://jenkins-ci.org/commit/credentials-plugin/3d9ee73a1e037b0b9429a0b955ff1e2b34b2389a
          Log:
          [FIXED JENKINS-20073] Add an action to allow moving credentials between credential domains

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/images/move.svg src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/move.jelly src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/move.properties src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/sidepanel.jelly src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/update.jelly src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/DomainWrapper/configure.jelly src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/DomainWrapper/newCredentials.jelly src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/newDomain.jelly src/main/webapp/images/16x16/move.png src/main/webapp/images/24x24/move.png src/main/webapp/images/32x32/move.png src/main/webapp/images/48x48/move.png http://jenkins-ci.org/commit/credentials-plugin/3d9ee73a1e037b0b9429a0b955ff1e2b34b2389a Log: [FIXED JENKINS-20073] Add an action to allow moving credentials between credential domains

          Removing myself as assignee. My current work assignments do not provide sufficient bandwidth to review these issues and in the majority of cases I am only assigned by virtue of being the default assignee. For the credentials-api and scm-api related plugins I have permission to allocate time reviewing changes to these APIs themselves to ensure these APIs remain cohesive, but that can be handled through PR reviews rather than assigning issues in JIRA

          Stephen Connolly added a comment - Removing myself as assignee. My current work assignments do not provide sufficient bandwidth to review these issues and in the majority of cases I am only assigned by virtue of being the default assignee. For the credentials-api and scm-api related plugins I have permission to allocate time reviewing changes to these APIs themselves to ensure these APIs remain cohesive, but that can be handled through PR reviews rather than assigning issues in JIRA

          Is there any chance for this to move forward?

          Sokratis Galiatsis added a comment - Is there any chance for this to move forward?

          Kalle Niemitalo added a comment - - edited

          AFAICT, this is already works in Credentials Plugin 2.3.0 (and presumably has worked since version 1.16); if you have multiple credential domains in the same credential store, then the UI lets you move a credential from one domain to another. Is there any reason why this issue should not be closed?

          However, it is not yet possible to move credentials from one project or folder to another. That feature request been filed separately as JENKINS-20075.

          Kalle Niemitalo added a comment - - edited AFAICT, this is already works in Credentials Plugin 2.3.0 (and presumably has worked since version 1.16); if you have multiple credential domains in the same credential store, then the UI lets you move a credential from one domain to another. Is there any reason why this issue should not be closed? However, it is not yet possible to move credentials from one project or folder to another. That feature request been filed separately as JENKINS-20075 .

          Is there any reason why this issue should not be closed?

          src/test/java/com/cloudbees/plugins/credentials/CredentialsStoreActionTest.java does not yet contain a test for moving a credential. I guess that is why this issue is still open.

          Kalle Niemitalo added a comment - Is there any reason why this issue should not be closed? src/test/java/com/cloudbees/plugins/credentials/CredentialsStoreActionTest.java does not yet contain a test for moving a credential. I guess that is why this issue is still open.

          Is there any plan to implement this feature ?

          Guru Vamsi Chintala added a comment - Is there any plan to implement this feature ?

            Unassigned Unassigned
            stephenconnolly Stephen Connolly
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: