Skip to content

Feature: Add options for enforcing asset name validation (Touches #11473)#18385

Open
cram42 wants to merge 1 commit intogrokability:developfrom
cram42:develop
Open

Feature: Add options for enforcing asset name validation (Touches #11473)#18385
cram42 wants to merge 1 commit intogrokability:developfrom
cram42:develop

Conversation

@cram42
Copy link
Copy Markdown
Contributor

@cram42 cram42 commented Dec 29, 2025

Touches issue #11473
We (and several others apparently) use the Asset Name as the primary identifier for assets.
Therefore it's required to be mandatory, in a specific format, and unique forever.
We also do have some assets without a name, so null values are allowed.

I've put together this quick little commit to add those options into General Settings.
image

Validation Checkbox - Enables the regex validation rule on asset names.
Regex Input - The regex rule itself.
Unique Checkbox - Enables the unique_undeleted rule on asset names.
Ignore Blank Checkbox - Enables the nullable rule on asset names.

For those in #11473 who are happy to just have it mandatory, enable Validation, set Regex to regex:/^.+$/, and disable Ignore Blank.

@cram42 cram42 requested a review from snipe as a code owner December 29, 2025 09:25
@cram42
Copy link
Copy Markdown
Contributor Author

cram42 commented Dec 30, 2025

Extremely confused about the failed checks. Is develop branch broken for anyone else at the moment?

@snipe
Copy link
Copy Markdown
Member

snipe commented Jan 14, 2026

Develop is not broken as far as I'm aware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants