onepanel icon indicating copy to clipboard operation
onepanel copied to clipboard

Can a workflow template name be taken by a workspace template?

Open rushtehrani opened this issue 4 years ago • 3 comments

Say I create a workspace template 'zebra' that will create a workflow template with the same name right?

So I can't go to workflow templates and create zebra and it will tell me it's already taken.

Should this happen, or should we indicate where the name is taken from somehow?

rushtehrani avatar May 25 '20 17:05 rushtehrani

This is a good point, it's probably best to prefix all system workflow templates with a sys-

rushtehrani avatar May 25 '20 17:05 rushtehrani

Just tested this, and it is still an issue.

@rushtehrani In addition to adding the sys- prefix, should we restrict template names from starting with sys- so if you try to make a template with the name of sys-aardvark it'll return a 400 - saying sys- names are reserved?

Vafilor avatar Nov 25 '20 19:11 Vafilor

@rushtehrani In addition to adding the sys- prefix, should we restrict template names from starting with sys- so if you try to make a template with the name of sys-aardvark it'll return a 400 - saying sys- names are reserved?

@Vafilor Yes, sys- prefix is reserved.

rushtehrani avatar Nov 25 '20 19:11 rushtehrani