Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2233

UI sends my_permissions field when repository is edited [400 Bad request]

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 2.4
    • UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      when a repository is updated via UI

      (example for repository repo-test-713c54ad)
      http://localhost:8002/ui/ansible/repositories/repo-test-713c54ad/edit/

      UI makes this call

       

      PUT
      {"name":"repo-test-713c54ad","description":null,"retain_repo_versions":1,"pulp_labels":{},"remote":null,"gpgkey":null,"private":true,"my_permissions":[]}
      

       

      my_permissions field should not be included. Server responds with 400 bad request

              mhradil-1 Martin Hradil
              ctorrens@redhat.com Christian Torrens
              Archiver:
              ranumula@redhat.com Raju Anumula
              Christian Torrens Christian Torrens

                Created:
                Updated:
                Resolved:
                Archived: