settings: Remove move_messages_between_streams_policy setting.

Removed `move_messages_between_streams_policy` property, as the permission
to move messages between channels is now controlled by
`can_move_messages_between_channels_group` setting.
This commit is contained in:
Vector73
2024-10-16 21:39:53 +05:30
committed by Tim Abbott
parent 1be0cb1b75
commit 8d341d1af9
9 changed files with 20 additions and 59 deletions

View File

@@ -830,7 +830,6 @@ class UserProfile(AbstractBaseUser, PermissionsMixin, UserBaseSettings):
"edit_topic_policy",
"invite_to_stream_policy",
"invite_to_realm_policy",
"move_messages_between_streams_policy",
]:
raise AssertionError("Invalid policy")