ansible/awx

Allow to add a new choice for a existing variable in custom credential type after it is already in use

Open

#8792 opened on Dec 9, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (13,071 stars) (3,333 forks)batch import
component:apihelp wantedtype:enhancement

Description

ISSUE TYPE
  • Feature Idea
SUMMARY

I made a form with choices in a custom credential type, this custom credential type is in use in a credential. if I modify a var name in the INJECTOR, it's fine, but if I want to add a choice for a var already existing I get an error message :

Modifications to inputs are not allowed for credential types that are in use

I could understand if I was trying to modify the field name, as the form is not the same that the one in use, but just adding a choice doesn't modify the fields or the number of fields, nothing really important in fact, but it is blocked

We can't delete all the credential using a credential type, if we just need to add a choice

Contributor guide