[MM-13704] Updated CLI "deleter user" to also permanently delete GroupMembers associated to user (#12858)

* [MM-13704] Updated CLI to set DeleteAt in groupmemebrs

* [MM-13704] Updated Mock Test

* [MM-13704] Refactored to use current pattern to write function

* [MM-13704] Small text change

* [MM-13704] updated translation

* [MM-13704] Updated params of error function

* [MM-13704] Fixed confusion between channel and group store

* [MM-13704] Addressed PR comments

* [MM-13704] Added test case

* [MM-13704] Fixed err declaration
This commit is contained in:
Hossein Ahmadian-Yazdi
2019-10-24 17:31:17 -04:00
committed by GitHub
parent 4f8fd3e59e
commit b9329d1984
7 changed files with 70 additions and 1 deletions

View File

@@ -6126,6 +6126,10 @@
"id": "store.sql_group.no_rows_changed",
"translation": "no rows changed"
},
{
"id": "store.sql_group.permanent_delete_members_by_user.app_error",
"translation": "Unable to remove the group members with UserID \"{{.UserId}}\""
},
{
"id": "store.sql_group.unique_constraint",
"translation": "a group with that name already exists"