discourse/app/assets/javascripts/admin/addon
Martin Brennan 9db4eaa870
DEV: Change anonymous_posting_min_trust_level to a group-based setting (#24072)
No plugins or themes rely on anonymous_posting_min_trust_level so we
can just switch straight over to anonymous_posting_allowed_groups

This also adds an AUTO_GROUPS const which can be imported in JS
tests which is analogous to the one defined in group.rb. This can be used
to set the current user's groups where JS tests call for checking these groups
against site settings.

Finally a AtLeastOneGroupValidator validator is added for group_list site
settings which ensures that at least one group is always selected, since if
you want to allow all users to use a feature in this way you can just use
the everyone group.
2023-10-25 11:45:10 +10:00
..
adapters DEV: Migrate remaining admin classes to native syntax (#20717) 2023-03-17 12:25:05 +00:00
components FIX: Add checkbox-label class to site setting checkboxes (#24075) 2023-10-25 09:14:27 +10:00
controllers FIX: display and link to correct grant_by users for granted badges (#24021) 2023-10-23 14:46:10 +08:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
mixins DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
models DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
routes DEV: Change anonymous_posting_min_trust_level to a group-based setting (#24072) 2023-10-25 11:45:10 +10:00
services DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
templates FIX: replaces data-tooltip usage by <DTooltip /> (#24062) 2023-10-23 21:09:02 +02:00