403
+Forbidden
+You don't have the permission to access this page.
+403
+You don't have the permission to access this page.
+{{ member.name }}
@@ -97,7 +97,7 @@
{{ t('common.share') }}
-
{{ t('vaultDetails.error.licenseViolated') }} @@ -283,7 +283,7 @@ onMounted(fetchData); async function fetchData() { onFetchError.value = null; try { - isAdmin.value = (await auth).isAdmin(); + isAdmin.value = (await auth).hasRole('admin'); vault.value = await backend.vaults.get(props.vaultId); me.value = await userdata.me; license.value = await backend.license.getUserInfo(); diff --git a/frontend/src/components/VaultList.vue b/frontend/src/components/VaultList.vue index a57981d6..36afe773 100644 --- a/frontend/src/components/VaultList.vue +++ b/frontend/src/components/VaultList.vue @@ -40,7 +40,7 @@