@ozdao/prometheus-framework 0.2.227 → 0.2.228
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/prometheus-framework/src/modules/auth/auth.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/auth.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +10 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +10 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +476 -476
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +476 -476
- package/package.json +1 -1
- package/src/modules/auth/auth.client.js +0 -7
- package/src/modules/auth/views/middlewares/auth.validation.js +1 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +2 -2
- package/src/modules/organizations/router/organizations.js +10 -1
package/package.json
CHANGED
@@ -25,13 +25,6 @@ function initializeAuth(app, store, router, options = {}) {
|
|
25
25
|
const route = options.route || 'Home';
|
26
26
|
|
27
27
|
router.addRoute(route, routerAuth);
|
28
|
-
|
29
|
-
// const homeRoute = router.getRoutes().find(routes => routes.name === route);
|
30
|
-
|
31
|
-
// if (homeRoute && process.env.MOBILE_APP) {
|
32
|
-
// homeRoute.beforeEnter = homeRoute.beforeEnter || [];
|
33
|
-
// homeRoute.beforeEnter.push(validationAuth.initUser);
|
34
|
-
// }
|
35
28
|
|
36
29
|
store.addStore('auth', storeAuth);
|
37
30
|
store.addStore('twofa', storeTwofa);
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="">
|
3
3
|
<h1 class="pd-medium radius-medium bg-light mn-b-small">Welcome to Backoffice</h1>
|
4
4
|
|
5
|
-
{{auth.state.accesses}}
|
5
|
+
<!-- {{auth.state.accesses}} -->
|
6
6
|
|
7
7
|
<Menu
|
8
8
|
class="bg-light mn-b-semi"
|
@@ -99,7 +99,7 @@
|
|
99
99
|
<MenuItem
|
100
100
|
v-if="hasAccess(route.params._id, 'events', 'read', auth.state.accesses)"
|
101
101
|
@click="router.push({
|
102
|
-
name: '
|
102
|
+
name: 'Organization_Events Backoffice',
|
103
103
|
params: {
|
104
104
|
_id: route.params._id
|
105
105
|
}
|
@@ -67,7 +67,16 @@ const organizations = [{
|
|
67
67
|
...membersRoutes,
|
68
68
|
...departmentRoutes,
|
69
69
|
...productRoutes,
|
70
|
-
...eventsRoutes
|
70
|
+
...eventsRoutes.map(route => ({
|
71
|
+
...route,
|
72
|
+
path: route.path,
|
73
|
+
name: `Organization_${route.name}`,
|
74
|
+
meta: {
|
75
|
+
...route.meta,
|
76
|
+
organizationScoped: true
|
77
|
+
},
|
78
|
+
props: true
|
79
|
+
})),
|
71
80
|
...categoriesRoutes,
|
72
81
|
...leftoversRoutes,
|
73
82
|
...paymentsRoutes,
|