Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-133

Prevent the ability to create two credentials with the same name for the same type

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Undefined
    • None
    • 2.1, 2.2, 2.3
    • controller
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • 0% 0%

    Description

      It is possible to have two credentials in an organization with the same name and of the same type (e.g. Machine), it is possible to have difficulty selecting the correct credential for a job template as both credentials will be shown and there is no way on the dialog to distinguish the two.

      Credentials of the same type with the same name should not be able to be created within the same organization.

       

      The way I test was to do the following:

      1. Create two organizations (Org1 and Org2)

      2. Create a user in each organization that has organization administrator privileges (org1_admin and org2_admin)

      3. Login as one of the organization admins (org1_admin)

      4. Create a machine credential (test_cred). Just set the name and the type. Do not set an organization.

      5. In a separate browser login as the other organization admin (org2_admin) and verify that the credential (test_cred) created in the previous step is not visible (as expected since they were created by an admin in a different organization)

      6. In the first browser login create another machine credential with the same name (test_cred). Just set the name and the type. Do not set an organization.

      7. In the first browser note that now there are two machine credentials created with the same name.

      8. In the second browser note that neither of the credentials are visible (as expected since they were created by an admin in a different organization)

      Attachments

        Activity

          People

            rhn-sa-pgriffiths Phil Griffiths
            jbird@redhat.com Jeffrey Bird
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: