This commit is contained in:
Timothy Jaeryang Baek
2026-01-06 00:01:07 +04:00
parent 713a65ee31
commit de9cff6b4e

View File

@@ -25,6 +25,11 @@
if (!model) {
goto('/workspace/models');
}
if (!model?.write_access) {
toast.error($i18n.t('You do not have permission to edit this model'));
goto('/workspace/models');
}
} else {
goto('/workspace/models');
}