Added serverside check for a post that @mentions someone who isn't in the channel

Этот коммит содержится в:
hmhealey
2016-01-30 13:44:39 -05:00
родитель 34547186ba
Коммит b7d045844c
4 изменённых файлов: 145 добавлений и 0 удалений

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

@@ -683,6 +683,18 @@
"id": "api.post.delete_post.permissions.app_error",
"translation": "You do not have the appropriate permissions"
},
{
"id": "api.post.get_out_of_channel_mentions.retrieve_members.error",
"translation": "Failed to get channel members channel_id=%v err=%v"
},
{
"id": "api.post.get_out_of_channel_mentions.retrieve_profiles.error",
"translation": "Failed to retrieve user profiles team_id=%v, err=%v"
},
{
"id": "api.post.get_out_of_channel_mentions.regex.error",
"translation": "Failed to compile @mention regex user_id=%v, err=%v"
},
{
"id": "api.post.get_post.permissions.app_error",
"translation": "You do not have the appropriate permissions"

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

@@ -683,6 +683,18 @@
"id": "api.post.delete_post.permissions.app_error",
"translation": "No tienes los permisos apropiados"
},
{
"id": "api.post.get_out_of_channel_mentions.retrieve_members.error",
"translation": "Falla al obtener los miembros del canal channel_id=%v err=%v"
},
{
"id": "api.post.get_out_of_channel_mentions.retrieve_profiles.error",
"translation": "Falla al recuperar los perfiles de usuario team_id=%v, err=%v"
},
{
"id": "api.post.get_out_of_channel_mentions.regex.error",
"translation": "Failed to compile @mention regex user_id=%v, err=%v"
},
{
"id": "api.post.get_post.permissions.app_error",
"translation": "No tienes los permisos apropiados"