This is an automated email from the ASF dual-hosted git repository.

kriszu pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 4f5f5c99b [Bug] The editor of the system setting module does not have 
permission control (#2637)
4f5f5c99b is described below

commit 4f5f5c99be0c98535acdf68b0d18162f28963052
Author: macksonmu <[email protected]>
AuthorDate: Sun Apr 16 15:44:11 2023 +0800

    [Bug] The editor of the system setting module does not have permission 
control (#2637)
---
 .../streampark-console-webapp/src/views/setting/System/SettingList.vue  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/streampark-console/streampark-console-webapp/src/views/setting/System/SettingList.vue
 
b/streampark-console/streampark-console-webapp/src/views/setting/System/SettingList.vue
index 583f08a93..ea621b183 100644
--- 
a/streampark-console/streampark-console-webapp/src/views/setting/System/SettingList.vue
+++ 
b/streampark-console/streampark-console-webapp/src/views/setting/System/SettingList.vue
@@ -125,7 +125,7 @@
           </div>
         </div>
         <template #actions>
-          <div v-if="item.type === 1">
+          <div v-if="item.type === 1" v-auth="'setting:update'">
             <a v-if="!item.submitting" @click="handleEdit(item)">
               {{ t('common.edit') }}
             </a>

Reply via email to