Files
memberApp/src/vueLib/checkboxes/permissions.ts
Adrian Zürcher aec741f094
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m34s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m39s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m46s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 5m32s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m35s
add new event and attendance table with automatic now timestamp
2025-11-04 10:59:56 +01:00

41 lines
754 B
TypeScript

import { i18n } from 'src/boot/lang';
import { ref } from 'vue';
export interface Permission {
name: string;
label: string;
permission: number;
}
export type Permissions = Permission[];
export const defaultPermissions = [
{
name: 'settings',
label: i18n.global.t('settings'),
permission: 0,
},
{
name: 'userSettings',
label: i18n.global.t('userSettings'),
permission: 0,
},
{
name: 'members',
label: i18n.global.t('members'),
permission: 0,
},
{
name: 'events',
label: i18n.global.t('events'),
permission: 0,
},
{
name: 'excursionTable',
label: i18n.global.t('excursionTable'),
permission: 0,
},
];
export const permissions = ref<Permissions>(defaultPermissions);