zulip/zerver
Ujjawal Modi 9e699dfc85 tests: Separate test of group edit setting for creation and deletion.
Earlier there was a single backend test for testing group edit policy
for creating and deleting user group.This commit make changes in the test
and now there are two separate tests for testing group edit policy for
creating and deleting user groups.

This was done because in future commits we will be adding a
realm level setting for configuring who can create user groups.

Also, updated tests to use api_post and api_delete helpers instead
of using client_post and client_delete helpers with different users
being logged in.
2024-08-20 09:28:05 -07:00
..
actions user_groups: Allow not passing old_setting_api_value. 2024-08-20 09:28:05 -07:00
data_import rocketchat: Fix "OSError: [Errno 36] File name too long" error. 2024-08-14 18:18:31 -07:00
integration_fixtures/nagios
lib user_groups: Refactor code to compute user group objects. 2024-08-19 15:41:55 -07:00
management management: Add change_auth_backends command. 2024-08-14 14:04:46 -07:00
migrations migrations: Fix quoting bug in tutorial_status migration. 2024-08-17 22:17:21 -07:00
models user_groups: Add a decorator to check group creation permission. 2024-08-20 09:28:05 -07:00
openapi api-docs: Update topics array description in get-stream-topics response. 2024-08-15 18:27:43 -07:00
tests tests: Separate test of group edit setting for creation and deletion. 2024-08-20 09:28:05 -07:00
tornado events: Migrate to typed_endpoint. 2024-07-31 17:10:06 -07:00
transaction_tests ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
views user_groups: Add a decorator to check group creation permission. 2024-08-20 09:28:05 -07:00
webhooks integration-docs: Update Open Collective for new doc format. 2024-08-15 13:16:14 -07:00
worker thumbnail: Resolve a race condition when rendering messages. 2024-08-01 16:48:16 -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 user_groups: Add a decorator to check group creation permission. 2024-08-20 09:28:05 -07:00
filters.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
forms.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -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