new package dbHandler accesscontrol memeberdb and login with rights
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m20s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m27s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m32s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 5m28s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m29s
All checks were successful
Build Quasar SPA and Go Backend for memberApp / build-spa (push) Successful in 2m20s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, .exe, windows) (push) Successful in 5m27s
Build Quasar SPA and Go Backend for memberApp / build-backend (amd64, , linux) (push) Successful in 5m32s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm, 6, , linux) (push) Successful in 5m28s
Build Quasar SPA and Go Backend for memberApp / build-backend (arm64, , linux) (push) Successful in 5m29s
This commit is contained in:
40
src/vueLib/checkboxes/permissions.ts
Normal file
40
src/vueLib/checkboxes/permissions.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
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: 'attendanceTable',
|
||||
label: i18n.global.t('attendanceTable'),
|
||||
permission: 0,
|
||||
},
|
||||
{
|
||||
name: 'excursionTable',
|
||||
label: i18n.global.t('excursionTable'),
|
||||
permission: 0,
|
||||
},
|
||||
];
|
||||
|
||||
export const permissions = ref<Permissions>(defaultPermissions);
|
||||
Reference in New Issue
Block a user