zulip/zerver
Mateusz Mandera b8ed03f5b7 ldap: Add migration to fix incorrect system group memberships.
In #34510 we fixed the underlying bug in the ldap integration, which
would cause users to end up with their system group memberships not
matching their .role value. However, users who may already be in that
state still need to be fixed through a migration. We implement that
here.

There are two things we fix here:
1. Group memberships. The user should have a direct group membership
   for the specific system group implied by their .role.
2. We want to also add the missing RealmAuditLog entry.
2025-05-06 12:54:35 -07:00
..
actions reminders: Add API endpoint to schedule reminders. 2025-05-02 16:48:00 -07:00
data_import slack_incoming: Use Slack text reformatters from data import. 2025-04-28 20:49:10 -07:00
integration_fixtures/nagios
lib incoming-webhooks: Add OpenProject integration. 2025-05-05 12:23:04 -07:00
management thumbnail: Add a tool to re-thumbnail spinners, or process old images. 2025-04-23 17:41:51 -07:00
migrations ldap: Add migration to fix incorrect system group memberships. 2025-05-06 12:54:35 -07:00
models reminders: Add API endpoint to schedule reminders. 2025-05-02 16:48:00 -07:00
openapi api-docs: Fix feature level text for POST /reminders endpoint. 2025-05-05 09:07:49 -07:00
tests email_change: Use HTML error for user deactivated error. 2025-05-06 11:12:16 -07:00
tornado streams: Fix events send when archiving and unarchiving streams. 2025-04-08 12:41:09 -07:00
transaction_tests test_user_groups: Add durable=True to the independent transaction. 2024-11-21 14:55:15 -08:00
views email_change: Use HTML error for user deactivated error. 2025-05-06 11:12:16 -07:00
webhooks incoming-webhooks: Add OpenProject integration. 2025-05-05 12:23:04 -07:00
worker send_email: Add a flag to force all emails through the queue. 2025-04-22 10:26:25 -07:00
__init__.py
apps.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py realm_creation_form: Capture import_from if realm import enabled. 2025-04-30 00:06:43 -07:00
decorator.py settings: Add "can_manage_billing_group" realm setting. 2025-03-10 09:36:30 -07:00
filters.py filters: Do not report AVATAR_SALT, or other salts. 2025-03-13 09:36:07 -07:00
forms.py requirements: Upgrade Python requirements. 2025-05-05 09:10:19 -07:00
logging_handlers.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py middleware: Parse Accept header properly. 2025-03-26 22:29:09 -07:00
signals.py send_email: Set the Date header according to local enqueue time. 2025-03-10 16:48:08 -07:00