[PR #2662] [MERGED] feat: admin panel #8438

Closed
opened 2026-04-20 18:13:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/2662
Author: @kolaente
Created: 4/20/2026
Status: Merged
Merged: 4/20/2026
Merged by: @kolaente

Base: mainHead: feat-admin-panel


📝 Commits (10+)

  • eddfbaf feat(db): add is_admin column to users
  • 0a555d1 feat(user): add IsAdmin field to User struct
  • e05c722 feat(auth): include is_admin in JWT claims
  • b669649 feat(permissions): site admins bypass all Can* checks (license-gated)
  • 9b37350 feat(cli): add user set-admin command (license-gated)
  • 88f5b74 feat(middleware): add RequireFeature and RequireSiteAdmin 404 gates
  • ae53172 feat(license): expose enabled_pro_features on /info
  • d83e090 feat(admin): add /admin route group and overview endpoint
  • 8e5630f feat(admin): add users/projects list endpoints and is_admin patch
  • 174424d feat(admin): add user status and delete endpoints with reassign owner

📊 Changes

66 files changed (+4026 additions, -197 deletions)

View changed files

📝 frontend/src/components/home/AppHeader.vue (+7 -0)
📝 frontend/src/components/input/FormField.test.ts (+1 -2)
📝 frontend/src/components/input/FormSelect.test.ts (+1 -3)
📝 frontend/src/components/misc/Icon.ts (+2 -0)
frontend/src/components/misc/SideNavShell.vue (+126 -0)
frontend/src/components/misc/TimeDisplay.vue (+29 -0)
📝 frontend/src/components/project/ProjectSettingsDropdown.vue (+8 -3)
📝 frontend/src/i18n/lang/en.json (+64 -0)
frontend/src/modelTypes/IAdminOverview.ts (+26 -0)
frontend/src/modelTypes/IAdminUser.ts (+9 -0)
📝 frontend/src/modelTypes/IUser.ts (+1 -0)
frontend/src/models/adminOverview.ts (+31 -0)
frontend/src/models/adminUser.ts (+14 -0)
📝 frontend/src/models/user.ts (+1 -0)
📝 frontend/src/router/index.ts (+45 -0)
frontend/src/services/admin/overviewService.ts (+14 -0)
frontend/src/services/admin/projectService.ts (+20 -0)
frontend/src/services/admin/userService.ts (+46 -0)
📝 frontend/src/stores/base.ts (+22 -8)
frontend/src/stores/config.test.ts (+40 -0)

...and 46 more files

📄 Description

This PR adds an admin panel as part of Pro. It allows managing users and projects for now, likely more to come in the future.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/2662 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 4/20/2026 **Status:** ✅ Merged **Merged:** 4/20/2026 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `feat-admin-panel` --- ### 📝 Commits (10+) - [`eddfbaf`](https://github.com/go-vikunja/vikunja/commit/eddfbaf58aae6f0c9244679f3ac9e68f8d34885a) feat(db): add is_admin column to users - [`0a555d1`](https://github.com/go-vikunja/vikunja/commit/0a555d148525b7cce0cf65459091c8f4f166cb6e) feat(user): add IsAdmin field to User struct - [`e05c722`](https://github.com/go-vikunja/vikunja/commit/e05c722537eba7f359080bcc1b284d9d3cfc3929) feat(auth): include is_admin in JWT claims - [`b669649`](https://github.com/go-vikunja/vikunja/commit/b6696496d2a250edac58e79b8c8a42b238d00518) feat(permissions): site admins bypass all Can* checks (license-gated) - [`9b37350`](https://github.com/go-vikunja/vikunja/commit/9b37350051292063d1d3c1736ade75bd9959bf64) feat(cli): add user set-admin command (license-gated) - [`88f5b74`](https://github.com/go-vikunja/vikunja/commit/88f5b74312b83c100c7282eb19f61eafc0d5f93d) feat(middleware): add RequireFeature and RequireSiteAdmin 404 gates - [`ae53172`](https://github.com/go-vikunja/vikunja/commit/ae53172f7cafe84e8ad9019751f1bd6fe4507e1b) feat(license): expose enabled_pro_features on /info - [`d83e090`](https://github.com/go-vikunja/vikunja/commit/d83e090d60c790c5ba3872b6fbe5b37408a21160) feat(admin): add /admin route group and overview endpoint - [`8e5630f`](https://github.com/go-vikunja/vikunja/commit/8e5630f6d49b7b6c7d0287826139166243547025) feat(admin): add users/projects list endpoints and is_admin patch - [`174424d`](https://github.com/go-vikunja/vikunja/commit/174424d4b183bb996e6a8465f98ae606249ef02b) feat(admin): add user status and delete endpoints with reassign owner ### 📊 Changes **66 files changed** (+4026 additions, -197 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/home/AppHeader.vue` (+7 -0) 📝 `frontend/src/components/input/FormField.test.ts` (+1 -2) 📝 `frontend/src/components/input/FormSelect.test.ts` (+1 -3) 📝 `frontend/src/components/misc/Icon.ts` (+2 -0) ➕ `frontend/src/components/misc/SideNavShell.vue` (+126 -0) ➕ `frontend/src/components/misc/TimeDisplay.vue` (+29 -0) 📝 `frontend/src/components/project/ProjectSettingsDropdown.vue` (+8 -3) 📝 `frontend/src/i18n/lang/en.json` (+64 -0) ➕ `frontend/src/modelTypes/IAdminOverview.ts` (+26 -0) ➕ `frontend/src/modelTypes/IAdminUser.ts` (+9 -0) 📝 `frontend/src/modelTypes/IUser.ts` (+1 -0) ➕ `frontend/src/models/adminOverview.ts` (+31 -0) ➕ `frontend/src/models/adminUser.ts` (+14 -0) 📝 `frontend/src/models/user.ts` (+1 -0) 📝 `frontend/src/router/index.ts` (+45 -0) ➕ `frontend/src/services/admin/overviewService.ts` (+14 -0) ➕ `frontend/src/services/admin/projectService.ts` (+20 -0) ➕ `frontend/src/services/admin/userService.ts` (+46 -0) 📝 `frontend/src/stores/base.ts` (+22 -8) ➕ `frontend/src/stores/config.test.ts` (+40 -0) _...and 46 more files_ </details> ### 📄 Description This PR adds an admin panel as part of [Pro](https://vikunja.io/pro). It allows managing users and projects for now, likely more to come in the future. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 18:13:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#8438