@sowell/quasar-app-extension-auth 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -212,7 +212,7 @@ export default defineComponent({
|
|
|
212
212
|
msalAuth
|
|
213
213
|
} = useAuth()
|
|
214
214
|
|
|
215
|
-
const IS_MANAGER = ["manager", "clean_manager", "admin"].includes(
|
|
215
|
+
const IS_MANAGER = ["manager", "clean_manager", "incivility_manager", "admin"].includes(
|
|
216
216
|
X_REQUESTED_ROLES
|
|
217
217
|
)
|
|
218
218
|
const isNotification = ref(false)
|
package/src/routes/index.ts
CHANGED
|
@@ -16,7 +16,7 @@ const {
|
|
|
16
16
|
} = prompts
|
|
17
17
|
|
|
18
18
|
// FIXME: Utiliser le UI_PAGE pour choisir les page a utiliser pour la version web ou mobile (auth et reset password)
|
|
19
|
-
const webAuthRoles = ["superadmin", "clean_manager", "manager"]
|
|
19
|
+
const webAuthRoles = ["superadmin", "clean_manager", "incivility_manager", "manager"]
|
|
20
20
|
const AdminAuthRoles = ["admin"]
|
|
21
21
|
|
|
22
22
|
let authPage = ""
|