zulip/zerver
Sahil Batra 929bf1243e user_groups: Disallow certain prefixes in group name.
We do not allow user group names to start with "@", "role:",
"user:", "stream:" and "channel:".

Group names starting with "@" look odd in mentions and
"role:", "user:" and "stream:" prefixes are reserved for
system groups which will be used in the new groups-based
permission model. We do not allow "channel:" prefix for
now just to be safe in a case where we use it instead of
"stream:" prefix for stream based groups in future.

Fixes part of #26148.
2023-07-11 13:46:02 -07:00
..
actions cache: Eliminate get-stream-by-name cache. 2023-07-11 13:45:40 -07:00
data_import slack: Handle the special case of permissions denied on team.info call. 2023-06-27 11:04:41 -07:00
integration_fixtures/nagios
lib user_groups: Disallow certain prefixes in group name. 2023-07-11 13:46:02 -07:00
management delete-user: Update management command help doc-string. 2023-06-23 11:24:13 -07:00
migrations models: Add modified_user_group. 2023-07-11 08:56:55 -07:00
openapi tests: Improve automated tests for submessages. 2023-07-06 16:35:46 -07:00
tests user_groups: Disallow certain prefixes in group name. 2023-07-11 13:46:02 -07:00
tornado mention: Replace 'wildcards' with 'stream_wildcards'. 2023-07-03 22:03:17 -07:00
transaction_tests test_classes: Do not necessary wrap test cases in a transaction. 2023-07-06 11:44:50 -07:00
views user_groups: Add API restrictions for long user group names. 2023-07-11 13:46:02 -07:00
webhooks integrations: Separate issue milestoned events in GitHub Integration. 2023-07-11 08:58:31 -07:00
worker queue_processors: Avoid queue worker timeouts in tests. 2023-06-28 11:06:24 -07:00
__init__.py
apps.py requirements: Upgrade Python requirements. 2023-04-03 22:39:21 -07:00
context_processors.py emails: Add corporate_enabled to context for emails. 2023-05-01 10:32:43 -07:00
decorator.py codespell: Correct “requestor” to “requester”. 2023-06-20 16:17:55 -07:00
filters.py
forms.py accounts: Allow user to change email visibility during first login. 2023-05-16 13:52:56 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py middleware: Detect reverse proxy misconfigurations. 2023-07-02 16:20:21 -07:00
models.py user_groups: Disallow certain prefixes in group name. 2023-07-11 13:46:02 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00