main ← issue/fix-ai-group-setting-migration
merged 12:21AM - 11 Sep 26 UTC
The AiAgent model has an `allowed_group_ids` attr, which can include the `everyo…ne` group. This wasn't being translated to `logged_in_users` if `granular_anonymous_and_logged_in_groups_permissions` is enabled like site settings are. This PR fixes the issue.
c.f. https://meta.discourse.org/t/ai-agent-group-settings-dont-seem-to-be-handled-by-the-upcoming-change-removing-the-everyone-group/411841