Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Do not show "Change" repository button for user not having permission

天舟9d90be78288a
diff --git a/frontend/src/components/RepositoryForm.vue b/frontend/src/components/RepositoryForm.vue
index 22e8ecc1c2..17413b2006 100644
--- a/frontend/src/components/RepositoryForm.vue
+++ b/frontend/src/components/RepositoryForm.vue
@@ -20,7 +20,7 @@
<div class="flex flex-row space-x-2 items-center">
<label for="repository" class="textlabel"> Repository </label>
<div
- v-if="!create"
+ v-if="!create && allowEdit"
class="ml-1 normal-link text-sm"
@click.prevent="$emit('change-repository')"
>