<template>
  <MainTemplate title="Meine Berechtigungen" :useStagedOverviewLink="false">
    <template #main>
      <Permission :permissions="permissions" disableEdit />
    </template>
  </MainTemplate>
</template>

<script setup lang="ts">
import { defineComponent } from "vue";
import { mapActions, mapState } from "pinia";
import MainTemplate from "@/templates/Main.vue";
import Permission from "@/components/admin/Permission.vue";
import { useAbilityStore } from "@/stores/ability";
</script>

<script lang="ts">
export default defineComponent({
  data() {
    return {};
  },
  computed: {
    ...mapState(useAbilityStore, ["permissions"]),
  },
});
</script>
