MM-59529 Set Channel/Team Admin permissions if All members get set (#28104)

* initial fix

* cleanup code

* move struct back

* fix unit test

* add unit tests

* add comments

* add manage_bookmark permissions

* revert package-lock.json

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Scott Bishel
2024-09-10 11:26:55 -06:00
коммит произвёл GitHub
родитель 4d2342ab8c
Коммит 0c585bdac6
8 изменённых файлов: 129 добавлений и 32 удалений

Просмотреть файл

@@ -49,4 +49,5 @@ const (
MigrationKeyAddChannelBookmarksPermissions = "add_channel_bookmarks_permissions"
MigrationKeyDeleteDmsPreferences = "delete_dms_preferences_migration"
MigrationKeyAddManageJobAncillaryPermissions = "add_manage_jobs_ancillary_permissions"
MigrationKeyAddUploadFilePermission = "add_upload_file_permission"
)