stable

Clone or download

Read-only

chore: convert AD plannings permissions to vue3

No functional changes: in project ยป admin ยป permissions per group, you can still "See all plannings permissions". If backend sends errors, they are still displayed. Took the opportunity to use getJSON, but it requires error message to follow restler error message, that is why now AD sends { error: { message: โ€ฆ } } instead of { error: โ€ฆ } This requires to write a perissions per group badge dedicated to vue3 app. The original will be removed once all permissions per group app will be converted to vue3. Part of request #31168: Migration Vue2 => Vue3 Change-Id: I8a6fdba0078ff580abaa948e3c2ec455b04ae825

Modified Files

Name
A lib/frontend/vue3-permissions-per-group-badge/.gitignore +1 โˆ’0 Go to diff View file
A lib/frontend/vue3-permissions-per-group-badge/package.json +30 โˆ’0 Go to diff View file
A lib/frontend/vue3-permissions-per-group-badge/pnpm-lock.yaml +196 โˆ’0 Go to diff View file
A lib/frontend/vue3-permissions-per-group-badge/src/PermissionsPerGroupBadge.d.ts +22 โˆ’0 Go to diff View file
A lib/frontend/vue3-permissions-per-group-badge/src/PermissionsPerGroupBadge.vue +39 โˆ’0 Go to diff View file
R plugins/agiledashboard/scripts/permissions-per-group/src/rest-querier.js Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +6 โˆ’4 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +1 โˆ’1 Go to diff View file
M plugins/agiledashboard/scripts/permissions-per-group/package.json +10 โˆ’5 Go to diff View file
M plugins/agiledashboard/scripts/permissions-per-group/pnpm-lock.yaml +491 โˆ’33 Go to diff View file
M plugins/agiledashboard/scripts/permissions-per-group/src/AgileDashboardPermissions.vue +54 โˆ’74 Go to diff View file
R plugins/agiledashboard/scripts/permissions-per-group/src/index.js Go to diff View file
A plugins/agiledashboard/scripts/permissions-per-group/src/rest-querier.ts +49 โˆ’0 Go to diff View file
A plugins/agiledashboard/scripts/permissions-per-group/tsconfig.json +4 โˆ’0 Go to diff View file
M plugins/agiledashboard/scripts/permissions-per-group/vite.config.ts +2 โˆ’2 Go to diff View file