feat: Audit Logs - add new page to frontend [WIP] (no-changelog) (#6418)

* feat: Audit Logs (WIP)

* feat: Audit Logs license depending contents

* fix(editor): simplify import

* fix(editor): add audit logs to server
This commit is contained in:
Csaba Tuncsik
2023-06-15 08:33:28 +02:00
committed by GitHub
parent 004d38d82b
commit 1fe6459569
13 changed files with 170 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { computed } from 'vue';
import { defineStore } from 'pinia';
import { EnterpriseEditionFeature } from '@/constants';
import { useSettingsStore } from '@/stores';
export const useAuditLogsStore = defineStore('auditLogs', () => {
const settingsStore = useSettingsStore();
const isEnterpriseAuditLogsFeatureEnabled = computed(() =>
settingsStore.isEnterpriseFeatureEnabled(EnterpriseEditionFeature.AuditLogs),
);
return {
isEnterpriseAuditLogsFeatureEnabled,
};
});

View File

@@ -24,3 +24,4 @@ export * from './workflows.store';
export * from './cloudPlan.store';
export * from './versionControl.store';
export * from './sso.store';
export * from './auditLogs.store';