ansible/awx

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

Open

#8 792 ouverte le 9 déc. 2020

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (3 333 forks)batch import
component:apihelp wantedtype:enhancement

Métriques du dépôt

Stars
 (13 071 stars)
Métriques de merge PR
 (Merge moyen 24j 6h) (30 PRs mergées en 30 j)

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

Guide contributeur