mattermost-mobile-upstream/app/constants/server_errors.ts
Mattermost Build 287db3bd17
MM-70693: Hide burn-on-read quick action when ABAC policy denies it (#10239) (#10260)
* Remove BoR quick action on ABAC permission denial

* Update Render Permission to support handling for ABAC servers that do not yet support a particular permision action - they will be treated as "unenforced"

* detox - allow skipping of tests on permission policy actions that are not supported by the test server yet

(cherry picked from commit 16c5849eb6)

Co-authored-by: Nate Schlossberg <nate.schlossberg@mattermost.com>
2026-10-20 09:01:17 +03:00

14 lines
794 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export default {
DELETED_ROOT_POST_ERROR: 'api.post.create_post.root_id.app_error',
TOWN_SQUARE_READ_ONLY_ERROR: 'api.post.create_post.town_square_read_only',
PLUGIN_DISMISSED_POST_ERROR: 'plugin.message_will_be_posted.dismiss_post',
SEND_EMAIL_WITH_DEFAULTS_ERROR: 'api.team.invite_members.unable_to_send_email_with_defaults.app_error',
TEAM_MEMBERSHIP_DENIAL_ERROR_ID: 'api.team.add_members.user_denied',
DUPLICATE_CHANNEL_NAME: 'store.sql_channel.save_channel.exists.app_error',
UPLOAD_DENIED_BY_POLICY_ERROR: 'api.file.upload_file.abac_denied.app_error',
BOR_DENIED_BY_POLICY_ERROR: 'api.post.create_post.burn_on_read.abac_denied.app_error',
};