mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-10 18:02:14 -05:00
[PR #1757] [MERGED] Enforce org user compliance #1210
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/1757
Author: @oschwartz10612
Created: 10/27/2025
Status: ✅ Merged
Merged: 10/27/2025
Merged by: @oschwartz10612
Base:
dev← Head:user-compliance📝 Commits (10+)
ddcf77aadd basic org policy check in middleware629f1722fa policy check working39d6b93enforce max session length1e70e42add password expiry enforcement460df46update translation and send password reset email9ce81b3add confirm dialog to update security settings8973726add org policy check to verify session1227b3cuse alert instead of badge for unlock status4431673enforce resource session lengthcbf9c53redirect to org login via query param📊 Changes
34 files changed (+2262 additions, -132 deletions)
View changed files
📝
cli/commands/setAdminCredentials.ts(+2 -1)📝
messages/en-US.json(+67 -0)📝
server/auth/sessions/app.ts(+2 -1)📝
server/auth/sessions/resource.ts(+2 -1)📝
server/db/pg/schema/schema.ts(+9 -3)📝
server/db/queries/verifySessionQueries.ts(+8 -2)📝
server/db/sqlite/schema/schema.ts(+9 -3)➕
server/lib/checkOrgAccessPolicy.ts(+41 -0)📝
server/license/license.ts(+4 -0)📝
server/middlewares/verifyOrgAccess.ts(+26 -6)➕
server/private/lib/checkOrgAccessPolicy.ts(+201 -0)📝
server/private/routers/loginPage/loadLoginPage.ts(+3 -4)📝
server/routers/auth/changePassword.ts(+60 -5)📝
server/routers/auth/resetPassword.ts(+2 -5)📝
server/routers/auth/setServerAdmin.ts(+2 -1)📝
server/routers/auth/signup.ts(+3 -5)📝
server/routers/badger/verifySession.ts(+42 -7)📝
server/routers/external.ts(+6 -8)➕
server/routers/org/checkOrgUserAccess.ts(+136 -0)📝
server/routers/org/index.ts(+1 -0)...and 14 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.
Description
Enforce compliance at the org level with security policies. Included is:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.