From 81f6620bf1c5eb7b91ee4e49b09262db0c291e28 Mon Sep 17 00:00:00 2001 From: jingrow Date: Tue, 30 Dec 2025 01:51:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E4=BA=8Enaive=20ui=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE-=E6=9D=83=E9=99=90=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=8F=8A=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../settings/AddNewWebhookDialog.vue | 4 +- .../settings/RoleConfigureDialog.vue | 386 ++++++++++++------ .../src/components/settings/RoleList.vue | 259 ++++++++++-- .../components/settings/RolePermissions.vue | 327 +++++++++++---- .../settings/SettingsPermissions.vue | 11 +- 5 files changed, 725 insertions(+), 262 deletions(-) diff --git a/dashboard/src/components/settings/AddNewWebhookDialog.vue b/dashboard/src/components/settings/AddNewWebhookDialog.vue index e10abee..cb77099 100644 --- a/dashboard/src/components/settings/AddNewWebhookDialog.vue +++ b/dashboard/src/components/settings/AddNewWebhookDialog.vue @@ -15,7 +15,7 @@ @@ -23,7 +23,7 @@ diff --git a/dashboard/src/components/settings/RoleConfigureDialog.vue b/dashboard/src/components/settings/RoleConfigureDialog.vue index 120267e..9c60d6a 100644 --- a/dashboard/src/components/settings/RoleConfigureDialog.vue +++ b/dashboard/src/components/settings/RoleConfigureDialog.vue @@ -1,138 +1,198 @@ - + + + +

{{ $t('Page Access Permissions') }}

+ + +
+ {{ $t('Allow Billing Access') }} + +
+
+ +
+ {{ $t('Allow Apps Access') }} + +
+
+ +
+ {{ $t('Allow Partner Access') }} + +
+
+ +
+ {{ $t('Allow Site Creation') }} + +
+
+ +
+ {{ $t('Allow Release Group Creation') }} + +
+
+ +
+ {{ $t('Allow Server Creation') }} + +
+
+ +
+ {{ $t('Allow Webhook Configuration') }} + +
+
+
+
+ + + + \ No newline at end of file + + + diff --git a/dashboard/src/components/settings/RoleList.vue b/dashboard/src/components/settings/RoleList.vue index fb368e0..67a6495 100644 --- a/dashboard/src/components/settings/RoleList.vue +++ b/dashboard/src/components/settings/RoleList.vue @@ -1,20 +1,86 @@ \ No newline at end of file + + + \ No newline at end of file diff --git a/dashboard/src/components/settings/RolePermissions.vue b/dashboard/src/components/settings/RolePermissions.vue index 4faf4d9..7c94227 100644 --- a/dashboard/src/components/settings/RolePermissions.vue +++ b/dashboard/src/components/settings/RolePermissions.vue @@ -1,58 +1,158 @@