diff --git a/frontend/src/components/IMChannelPanel.vue b/frontend/src/components/IMChannelPanel.vue
index 3cead90b..4eb51095 100644
--- a/frontend/src/components/IMChannelPanel.vue
+++ b/frontend/src/components/IMChannelPanel.vue
@@ -32,9 +32,11 @@
+
{{ $t('agentEditor.im.addChannel') }}
@@ -429,8 +431,10 @@ import {
} from '@/api/agent';
import { listKnowledgeBases } from '@/api/knowledge-base';
import type { IMChannel } from '@/api/agent';
+import { useAuthStore } from '@/stores/auth';
const { t } = useI18n();
+const authStore = useAuthStore();
const props = defineProps<{
agentId: string;
diff --git a/frontend/src/components/IMChannelsOverviewPanel.vue b/frontend/src/components/IMChannelsOverviewPanel.vue
index ef18376f..30fcd10a 100644
--- a/frontend/src/components/IMChannelsOverviewPanel.vue
+++ b/frontend/src/components/IMChannelsOverviewPanel.vue
@@ -84,6 +84,7 @@
:value="ch.enabled"
size="small"
:loading="togglingId === ch.id"
+ :disabled="!authStore.hasRole('admin')"
@change="handleToggle(ch)"
/>
@@ -98,6 +99,7 @@ import { ref, watch } from 'vue';
import { useRouter } from 'vue-router';
import { useI18n } from 'vue-i18n';
import { MessagePlugin } from 'tdesign-vue-next';
+import { useAuthStore } from '@/stores/auth';
import {
listAllIMChannels,
listAgents,
@@ -138,6 +140,7 @@ const emit = defineEmits<{
const { t } = useI18n();
const router = useRouter();
+const authStore = useAuthStore();
const channels = ref([]);
const agentMap = ref