jogosultsági szintek RBAC beállítva tesztelve

This commit is contained in:
Roo
2026-06-25 20:41:49 +00:00
parent 52011606ff
commit 36109fc722
242 changed files with 8672 additions and 2237 deletions

View File

@@ -459,6 +459,9 @@ const unhead_k2P3m_ZDyjlr2mMYnoDPwavjsDN8hBlk9cFai0bbopU = /* @__PURE__ */ defin
function toArray$3(value) {
return Array.isArray(value) ? value : [value];
}
const __nuxt_page_meta = {
layout: "blank"
};
const _routes = [
{
name: "index",
@@ -469,25 +472,32 @@ const _routes = [
{
name: "login",
path: "/login",
component: () => import("./_nuxt/login-BHmaTZZZ.js")
meta: __nuxt_page_meta || {},
component: () => import("./_nuxt/login-Dx4mHuUH.js")
},
{
name: "garages",
path: "/garages",
meta: { "middleware": "auth" },
component: () => import("./_nuxt/index-ebkVtBaw.js")
component: () => import("./_nuxt/index-o-V5Lz0_.js")
},
{
name: "packages",
path: "/packages",
meta: { "middleware": "auth" },
component: () => import("./_nuxt/index-BPETUF7a.js")
component: () => import("./_nuxt/index-CII1lBpk.js")
},
{
name: "permissions",
path: "/permissions",
meta: { "middleware": "auth" },
component: () => import("./_nuxt/index-7zBAzpaD.js")
component: () => import("./_nuxt/index-D2n0yf-2.js")
},
{
name: "garages-id",
path: "/garages/:id()",
meta: { "middleware": "auth" },
component: () => import("./_nuxt/index-JpXwtL-Z.js")
}
];
const _wrapInTransition = (props, children) => {
@@ -632,7 +642,7 @@ const globalMiddleware = [
manifest_45route_45rule
];
const namedMiddleware = {
auth: () => import("./_nuxt/auth-BgwR5zMA.js")
auth: () => import("./_nuxt/auth-9ekP0oPk.js")
};
Object.assign(/* @__PURE__ */ Object.create(null), {});
const pageIslandRoutes = Object.assign(/* @__PURE__ */ Object.create(null), {});
@@ -1502,7 +1512,7 @@ const localeLoaders = {
{
key: "locale_hu_46json_ee06c965",
load: () => import(
"./_nuxt/hu-CoGcC81v.js"
"./_nuxt/hu-B3JxlqZo.js"
/* webpackChunkName: "locale_hu_46json_ee06c965" */
),
cache: true
@@ -1512,7 +1522,7 @@ const localeLoaders = {
{
key: "locale_en_46json_0b63539c",
load: () => import(
"./_nuxt/en-BScPj1A-.js"
"./_nuxt/en-WIj2pBfh.js"
/* webpackChunkName: "locale_en_46json_0b63539c" */
),
cache: true
@@ -1652,7 +1662,7 @@ function getDefaultLocaleForDomain(host) {
}
const isSupportedLocale = (locale) => localeCodes.includes(locale || "");
const resolveSupportedLocale = (locale) => isSupportedLocale(locale) ? locale : void 0;
var define_I18N_LOCALE_HASHES_default$1 = { hu: "349b7781", en: "349b7781" };
var define_I18N_LOCALE_HASHES_default$1 = { hu: "bb1d6803", en: "bb1d6803" };
const useLocaleConfigs = () => useState(
"i18n:cached-locale-configs",
() => void 0
@@ -6726,7 +6736,7 @@ const setupVueI18nOptions = async (defaultLocale) => {
}
return options;
};
var define_I18N_LOCALE_HASHES_default = { hu: "349b7781", en: "349b7781" };
var define_I18N_LOCALE_HASHES_default = { hu: "bb1d6803", en: "bb1d6803" };
const i18n_EI7LsD1KYQADczz5hrChviGQCdVM8yUkvFEZLJpmnvM = /* @__PURE__ */ defineNuxtPlugin({
name: "i18n:plugin",
parallel: false,
@@ -6833,7 +6843,8 @@ const plugins = [
ssg_detect_IpHCGcQQ_IR5Rl99qyukWoMA9fJGfuTYyoksTzy81cs
];
const layouts = {
default: defineAsyncComponent(() => import("./_nuxt/default-B9tlXlqE.js").then((m) => m.default || m))
blank: defineAsyncComponent(() => import("./_nuxt/blank-DWT4RB69.js").then((m) => m.default || m)),
default: defineAsyncComponent(() => import("./_nuxt/default-DOjdWE8b.js").then((m) => m.default || m))
};
const routeRulesMatcher = _routeRulesMatcher;
const LayoutLoader = defineComponent({
@@ -7070,37 +7081,39 @@ function normalizeSlot(slot, data) {
const slotContent = slot(data);
return slotContent.length === 1 ? h(slotContent[0]) : h(Fragment, void 0, slotContent);
}
const _export_sfc = (sfc, props) => {
const target = sfc.__vccOpts || sfc;
for (const [key, val] of props) {
target[key] = val;
}
return target;
};
const _sfc_main$2 = {};
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
const _component_NuxtLayout = __nuxt_component_0;
const _component_NuxtPage = __nuxt_component_1;
_push(ssrRenderComponent(_component_NuxtLayout, _attrs, {
default: withCtx((_, _push2, _parent2, _scopeId) => {
if (_push2) {
_push2(ssrRenderComponent(_component_NuxtPage, null, null, _parent2, _scopeId));
} else {
return [
createVNode(_component_NuxtPage)
];
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
__name: "app",
__ssrInlineRender: true,
setup(__props) {
useHead({
titleTemplate: (titleChunk) => {
return titleChunk ? `${titleChunk} | Service Finder Admin` : "Service Finder Admin";
}
}),
_: 1
}, _parent));
}
});
return (_ctx, _push, _parent, _attrs) => {
const _component_NuxtLayout = __nuxt_component_0;
const _component_NuxtPage = __nuxt_component_1;
_push(ssrRenderComponent(_component_NuxtLayout, _attrs, {
default: withCtx((_, _push2, _parent2, _scopeId) => {
if (_push2) {
_push2(ssrRenderComponent(_component_NuxtPage, null, null, _parent2, _scopeId));
} else {
return [
createVNode(_component_NuxtPage)
];
}
}),
_: 1
}, _parent));
};
}
});
const _sfc_setup$2 = _sfc_main$2.setup;
_sfc_main$2.setup = (props, ctx) => {
const ssrContext = useSSRContext();
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("app.vue");
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
};
const AppComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["ssrRender", _sfc_ssrRender]]);
const _sfc_main$1 = {
__name: "nuxt-error-page",
__ssrInlineRender: true,
@@ -7115,8 +7128,8 @@ const _sfc_main$1 = {
const statusText = _error.statusMessage ?? (is404 ? "Page Not Found" : "Internal Server Error");
const description = _error.message || _error.toString();
const stack = void 0;
const _Error404 = defineAsyncComponent(() => import("./_nuxt/error-404-C_elhLNc.js"));
const _Error = defineAsyncComponent(() => import("./_nuxt/error-500-C6MJq2Cl.js"));
const _Error404 = defineAsyncComponent(() => import("./_nuxt/error-404-Bkg5lg69.js"));
const _Error = defineAsyncComponent(() => import("./_nuxt/error-500-DfEH3Z64.js"));
const ErrorTemplate = is404 ? _Error404 : _Error;
return (_ctx, _push, _parent, _attrs) => {
_push(ssrRenderComponent(unref(ErrorTemplate), mergeProps({ status: unref(status), statusText: unref(statusText), statusCode: unref(status), statusMessage: unref(statusText), description: unref(description), stack: unref(stack) }, _attrs), null, _parent));
@@ -7174,7 +7187,7 @@ const _sfc_main = {
} else if (unref(SingleRenderer)) {
ssrRenderVNode(_push, createVNode(resolveDynamicComponent(unref(SingleRenderer)), null, null), _parent);
} else {
_push(ssrRenderComponent(unref(AppComponent), null, null, _parent));
_push(ssrRenderComponent(unref(_sfc_main$2), null, null, _parent));
}
},
_: 1
@@ -7208,10 +7221,9 @@ let entry;
}
const entry_default = ((ssrContext) => entry(ssrContext));
export {
_export_sfc as _,
useRouter as a,
useCookie as b,
useI18n as c,
useI18n as b,
useCookie as c,
defineNuxtRouteMiddleware as d,
entry_default as default,
encodeRoutePath as e,