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

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

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

      None

      Show
      None
    • False

      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
            Christian Torrens Christian Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: