Add configuration entity for rules

Created on 19 December 2024, 2 months ago

Problem/Motivation

We will need a way to make rules customizable, but have the customizations exist as config. My first thought on this is that it ought to be a configuration entity, then the UI form could list all the rules.

Questions

  • Should rules have a sorting weight?

Proposed resolution

that would have the following fields

  1. enabled/disabled
  2. rule operation: prevent or warn. Prevent would prevent the save, warn will warning but still allow save.
  3. match options (begins with, equals, contains, ends with)
  4. text to string to look for
  5. What the message should say to the user when they violate this rule.

Remaining tasks

✨ Feature request
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024