Initial commit

This commit is contained in:
2025-08-04 16:33:07 +03:30
commit f798e8e35c
9595 changed files with 1208683 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<script setup>
definePage({
meta: {
action: 'read',
subject: 'AclDemo',
},
})
</script>
<template>
<VRow>
<VCol
cols="12"
md="6"
>
<VCard title="Common">
<VCardText>No ability is required to view this card</VCardText>
<VCardText>
This card is visible to both 'user' and 'admin'
</VCardText>
</VCard>
</VCol>
<VCol
v-if="$can('read', 'all')"
cols="12"
md="6"
>
<VCard title="Analytics">
<VCardText>User with 'Analytics' subject's 'Read' ability can view this card</VCardText>
<VCardText class="text-danger">
This card is visible to 'admin' only
</VCardText>
</VCard>
</VCol>
</VRow>
</template>