mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-05-09 08:15:31 +02:00
[PR #12] [MERGED] Dev #75
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BreizhHardware/Site-comptage-heure#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BreizhHardware/Site-comptage-heure/pull/12
Author: @BreizhHardware
Created: 10/25/2025
Status: ✅ Merged
Merged: 10/25/2025
Merged by: @BreizhHardware
Base:
main← Head:dev📝 Commits (10+)
df0181dbuild(deps-dev): bump tailwindcss from 4.1.14 to 4.1.15433ba37build(deps-dev): bump @tailwindcss/postcss from 4.1.14 to 4.1.1513c7a22build(deps-dev): bump @types/node from 20.19.22 to 24.9.052ada37Merge pull request #9 from BreizhHardware/dependabot/npm_and_yarn/dev/tailwindcss-4.1.15eafed4aMerge pull request #10 from BreizhHardware/dependabot/npm_and_yarn/dev/tailwindcss/postcss-4.1.15110d890Merge pull request #11 from BreizhHardware/dependabot/npm_and_yarn/dev/types/node-24.9.0ca87e7cchore: update pull request trigger branches in CI5bdeb46build(deps): bump node from 22-alpine to 25-alpined2790f9Merge pull request #1 from BreizhHardware/dependabot/docker/node-25-alpine35d3caefeat: extend user role access to include ADMIN for fetching users and route access📊 Changes
8 files changed (+2260 additions, -932 deletions)
View changed files
📝
.github/workflows/ci.yml(+1 -1)📝
Dockerfile(+1 -1)📝
app/admin/page.tsx(+42 -31)📝
app/api/users/route.ts(+4 -1)📝
cypress/e2e/login.cy.ts(+7 -7)📝
package.json(+11 -5)📝
pnpm-lock.yaml(+2185 -884)📝
tsconfig.json(+9 -2)📄 Description
This pull request introduces several improvements across the codebase, focusing on expanding admin access, updating dependencies, and enhancing CI coverage. The most significant changes include broadening admin privileges, upgrading Node.js and related packages, and refining user role handling in the admin interface.
Access control and admin features:
/api/usersendpoint to include bothADMINandSUPER_ADMINroles, not justSUPER_ADMIN. (app/api/users/route.ts)ADMINrole to fetch users and access admin functionalities, not just those withSUPER_ADMINrole. (app/admin/page.tsx)app/admin/page.tsx) [1] [2]Dependency and environment updates:
Dockerfilefor improved performance and compatibility.@types/node(from v20 to v24),@tailwindcss/postcss, and multiplelightningcssandtailwindcsspackages to their latest versions. (package.json,pnpm-lock.yaml) [1] [2] [3] [4] [5] [6] [7] [8]CI/CD improvements:
mainanddevbranches, ensuring better test coverage during development. (.github/workflows/ci.yml)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.