Allow regex customization for folder entity names
We want to ban users from creating assets with leading digits (e.g. 01_character_A). Ayon currently is missing controls for this on the backend, would be great to add regex options.
- Affects
- Core
We want to ban users from creating assets with leading digits (e.g. 01_character_A). Ayon currently is missing controls for this on the backend, would be great to add regex options.
Log in to comment and vote
Comments2
Mustafa Zaky Jafar
Hey, I’ve a suggestion if you’d like to create a PR.
firstly, you’d need to add the new option to entity name settings in the backend repo here
then, in the frontend repo, I’m not sure how to add it to the expected values here and here as this section is generated.
then in the frontend repo, you can see the function responsible for the conversion here
These are more of my search results about extending the regex list so I hope it helps.
Tony Dorfmeister
thanks pal… i’ll try to come up with something for back and frontend.