zulip/zerver
Sahil Batra 47a611f989 user_groups: Check permission when adding subgroups.
This commit updates code to allow users with permission
to add members to add subgroups as well. And only users
with permission to manage the group can remove subgroups.

Also updated tests to check permissions in separate tests
and removed them from the existing test.
2024-10-17 14:27:21 -07:00
..
actions settings: Add `can_move_messages_between_channels_group` realm setting. 2024-10-16 14:26:18 -07:00
data_import rocketchat: Validate custom emoji before larger data sets. 2024-10-17 12:25:18 -07:00
integration_fixtures/nagios
lib user_groups: Check permission when adding subgroups. 2024-10-17 14:27:21 -07:00
management scheduled_messages: Remove separate logfile. 2024-10-04 14:22:37 -07:00
migrations migrations: Fix unnecessary loop in 0602. 2024-10-17 11:21:56 -07:00
models users: Refactor `has_permission` function. 2024-10-16 14:26:20 -07:00
openapi settings: Remove `move_messages_between_streams_policy` setting. 2024-10-16 14:26:20 -07:00
tests user_groups: Check permission when adding subgroups. 2024-10-17 14:27:21 -07:00
tornado django_api: Rename 'send_event' to 'send_event_rollback_unsafe'. 2024-09-20 15:20:18 -07:00
transaction_tests user_groups: Add add_can_members_group to user group. 2024-10-11 16:31:18 -07:00
views user_groups: Check permission when adding subgroups. 2024-10-17 14:27:21 -07:00
webhooks docs: Update existing links to use "channel" operator. 2024-10-11 17:00:23 -07:00
worker export_realm: Add RealmExport model. 2024-10-04 12:06:35 -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 ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
decorator.py upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
filters.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
forms.py register: Ask which review site for how found zulip. 2024-09-27 13:23:08 -07:00
logging_handlers.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
signals.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00