mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 12:55:03 -05:00
[PR #2121] [MERGED] feat: device approvals #2869
Reference in New Issue
Block a user
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/fosrl/pangolin/pull/2121
Author: @Fredkiss3
Created: 12/18/2025
Status: ✅ Merged
Merged: 1/16/2026
Merged by: @miloschwartz
Base:
dev← Head:feat/device-approvals📝 Commits (10+)
a5775a0🗃️ createapprovalstable009b86cMerge branch 'dev' into feat/device-approvalse983e11🚧 wip: approval tables in DB0f2b943Merge branch 'dev' into feat/device-approvals1f80845🗃️ move approval state to client directly where it makes more sensecb21cab🚧 add device approval in the roles pagebbca200🙈 do not include claude.md in gitignoreabfe476🚧 wip39bebea✨ create & update role with device approval3ab25f5♻️ refactor📊 Changes
39 files changed (+1545 additions, -280 deletions)
View changed files
📝
.gitignore(+2 -1)📝
messages/en-US.json(+31 -1)📝
server/auth/actions.ts(+3 -1)📝
server/db/pg/schema/privateSchema.ts(+36 -1)📝
server/db/pg/schema/schema.ts(+6 -2)📝
server/db/sqlite/schema/privateSchema.ts(+26 -1)📝
server/db/sqlite/schema/schema.ts(+11 -3)📝
server/lib/calculateUserClientsForOrgs.ts(+48 -18)➕
server/private/routers/approvals/index.ts(+15 -0)➕
server/private/routers/approvals/listApprovals.ts(+188 -0)➕
server/private/routers/approvals/processPendingApproval.ts(+142 -0)📝
server/private/routers/external.ts(+19 -0)📝
server/private/routers/loginPage/getLoginPageBranding.ts(+3 -5)📝
server/routers/client/blockClient.ts(+1 -1)📝
server/routers/client/listClients.ts(+1 -0)📝
server/routers/client/unblockClient.ts(+1 -1)📝
server/routers/external.ts(+8 -0)📝
server/routers/integration.ts(+8 -0)📝
server/routers/role/createRole.ts(+9 -1)📝
server/routers/role/listRoles.ts(+8 -9)...and 19 more files
📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Summary
Main changes:
Demo
https://github.com/user-attachments/assets/e8776a0a-c98b-418d-a81f-176df428f9d5
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.