feat: add role editor page with create/delete functionality

- Add RoleEditorPage with role management
- Add Create New Role button (admin only)
- Add Delete Role button (admin only, admin role protected)
- Fix useAuth import in RoleEditorPage
This commit is contained in:
2026-03-15 12:26:04 +00:00
parent 9190c17abc
commit 800a618aaa
2 changed files with 138 additions and 3 deletions

View File

@@ -5,7 +5,9 @@ COPY package.json package-lock.json* ./
RUN npm install
COPY . .
ARG VITE_WIZARD_PORT=18080
ARG VITE_API_BASE
ENV VITE_WIZARD_PORT=$VITE_WIZARD_PORT
ENV VITE_API_BASE=$VITE_API_BASE
RUN npm run build
# Production stage — lightweight static server, no nginx