New extension: UniqueBoolValueValidator

This is a simple validator class that makes sure that only a single record with some attributes has a specific boolean value (or model fails validation otherwise).

For example, lets say that you have a special banner on the front page. You have many on the system but only one should be allowed to be published on front page. This validator makes sure that when saving/update a banner, it cannot unintentionally replace the current banner that is promoted to front page.

Please comment on the GitHub project page so we can keep track of any feedback most effectively.

Extension page

GitHub project page