René's URL Explorer Experiment


Title: feat(forge-server): implement enterprise auth, RBAC & append-only audit logging by luksluki · Pull Request #236 · elcode-id/elcode-forge · GitHub

Open Graph Title: feat(forge-server): implement enterprise auth, RBAC & append-only audit logging by luksluki · Pull Request #236 · elcode-id/elcode-forge

X Title: feat(forge-server): implement enterprise auth, RBAC & append-only audit logging by luksluki · Pull Request #236 · elcode-id/elcode-forge

Description: Summary Implements enterprise authentication, role-based access control (RBAC), and append-only audit event logging in \crates/forge-server. Scope & Additions Configuration & State (\crates/forge-server/src/config.rs\ & \state.rs): \ rust_proxy_headers, \jwks_url\ in \ServerConfig. In-memory \JwksCache\ in \AppState. Authentication & RBAC (\crates/forge-server/src/auth/): \Role\ enum (\Viewer, \Auditor, \Maintainer, \Admin) with privilege checks. Reverse-proxy identity header extraction (\X-Forwarded-User, \X-Forwarded-Role, \X-Forwarded-Email) active only when \ rust_proxy_headers == true. JWKS remote and cached signature verification in \JwksCache. Database Schema & Models (\crates/forge-server/src/db/): Append-only \�udit_events\ table migration with indices on \org_id, \�ctor, \�ction, and \created_at. \AuditEventRow\ and \AuditEventFilter\ models. CRUD operations: ecord_audit_event, \query_audit_events. Audit Recorder Engine (\crates/forge-server/src/audit/): ecord_audit_event\ and standard action/resource constants. Automatic event generation on snapshot push, org creation, project linking, and webhooks. REST Endpoints (\crates/forge-server/src/routes/audit.rs\ & \�pp.rs): \GET /api/v1/audit-events\ guarded by RBAC (requires \Auditor\ or \Admin\ role). Integration Tests (\crates/forge-server/tests/audit_events_test.rs): Verification of proxy header security boundaries, RBAC 403 Forbidden enforcement, append-only lifecycle, and filter queries. Closes #227

Open Graph Description: Summary Implements enterprise authentication, role-based access control (RBAC), and append-only audit event logging in \crates/forge-server. Scope & Additions Configuration & State (\crate...

X Description: Summary Implements enterprise authentication, role-based access control (RBAC), and append-only audit event logging in \crates/forge-server. Scope & Additions Configuration & State...

Opengraph URL: https://github.com/elcode-id/elcode-forge/pull/236

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c377b6a4-6a38-9b0f-9574-fdf67fa225f2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8A46:29BF6B:335B60:464E24:6B059E3B
html-safe-nonce7490bf5a7e82159fd4392bedce68c936a4a0565eb6b4c2308bb8cbb18920cb5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTQ2OjI5QkY2QjozMzVCNjA6NDY0RTI0OjZCMDU5RTNCIiwidmlzaXRvcl9pZCI6IjUyMzIzMzM2NzUyNDA0NjM5MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac593a2adf476e522f237f57113234bd2396215ac2d7952a0debe5f0fe0af6096b
hovercard-subject-tagpull_request:5061288277
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/elcode-id/elcode-forge/pull/236/files
twitter:imagehttps://avatars.githubusercontent.com/u/42430456?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/42430456?s=400&v=4
og:image:altSummary Implements enterprise authentication, role-based access control (RBAC), and append-only audit event logging in \crates/forge-server. Scope & Additions Configuration & State (\crate...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None8bd54b96ae4db60ce608a145a6b2fb16216749fbdb431d9879aabfa7459f1139
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/elcode-id/elcode-forge git https://github.com/elcode-id/elcode-forge.git
octolytics-dimension-user_id337957755
octolytics-dimension-user_loginelcode-id
octolytics-dimension-repository_id1423983661
octolytics-dimension-repository_nwoelcode-id/elcode-forge
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1423983661
octolytics-dimension-repository_network_root_nwoelcode-id/elcode-forge
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecda4791073b4da3005eb3d470dc0aef3956bbe34
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/elcode-id/elcode-forge/pull/236/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Felcode-id%2Felcode-forge%2Fpull%2F236%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Felcode-id%2Felcode-forge%2Fpull%2F236%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=elcode-id%2Felcode-forge
Reloadhttps://github.com/elcode-id/elcode-forge/pull/236/files
Reloadhttps://github.com/elcode-id/elcode-forge/pull/236/files
Reloadhttps://github.com/elcode-id/elcode-forge/pull/236/files
elcode-idhttps://github.com/elcode-id
elcode-forgehttps://github.com/elcode-id/elcode-forge
Codehttps://github.com/elcode-id/elcode-forge
Issueshttps://github.com/elcode-id/elcode-forge/issues
Pull requestshttps://github.com/elcode-id/elcode-forge/pulls
Actionshttps://github.com/elcode-id/elcode-forge/actions
Projectshttps://github.com/elcode-id/elcode-forge/projects
Security and qualityhttps://github.com/elcode-id/elcode-forge/security
Insightshttps://github.com/elcode-id/elcode-forge/insights
Sign up for GitHub https://github.com/signup?return_to=%2Felcode-id%2Felcode-forge%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Felcode-id%2Felcode-forge%2Fissues%2Fnew%2Fchoose
lukslukihttps://github.com/luksluki
develophttps://github.com/elcode-id/elcode-forge/tree/develop
feat/forge-227-enterprise-auth-audithttps://github.com/elcode-id/elcode-forge/tree/feat/forge-227-enterprise-auth-audit
Conversation 0 https://github.com/elcode-id/elcode-forge/pull/236
Commits 1 https://github.com/elcode-id/elcode-forge/pull/236/commits
Checks 4 https://github.com/elcode-id/elcode-forge/pull/236/checks
Files changed https://github.com/elcode-id/elcode-forge/pull/236/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/236/files
feat(forge-server): implement enterprise auth, RBAC & append-only audit logging https://github.com/elcode-id/elcode-forge/pull/236/files#top
Show all changes 1 commit https://github.com/elcode-id/elcode-forge/pull/236/files
a3200f7 feat(forge-server): implement enterprise auth, RBAC & append-only aud… luksluki Oct 29, 2026 https://github.com/elcode-id/elcode-forge/pull/236/commits/a3200f70920dfe9369c244f36fcfafef4bdc67c8
Clear filters https://github.com/elcode-id/elcode-forge/pull/236/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/236/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/236/files
app.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
mod.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-bfb714e79f751ee001e5ce593a9f347175a5aa74ecd69fd8631bfbdd4998b05e
jwks.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
mod.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-7ebc6ce7262928aad475951767811cec143df50dcdbe5aa1266eb9901a6e4d92
rbac.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-d0bdfc08136129b3d55f0a445d368aa73ae83f6a0555caad9f77d6571d7b9d2c
config.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-2368bbfb48e73b12d821b734fb90f54fcac3eecf809f085e01a00f8462c0fd8f
mod.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-e0eaa45bea7d5afde6d6d955a22c621d136d3d0be59297ed168740455eee3bcf
models.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-5cff478859293b096d351de85e92bfc8ac79e218b05b206598c870753b08ea32
error.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-0eb55b546f417ba9d26b5b6d7723787cf3fa23275c2c09d4cf46c72ca074645b
lib.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-5c2d3c3ef9881ad83a05ed2bfc1fe936647b59cab1a4e100da4e7d810b824920
audit.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-c499b95f385dd95b5007ac482b735c21297b90a4a76c98cbd8750185e792cd80
mod.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-d1a388e6d8ca6b1a442236535053355291a58d9d2eb8dc4f324c1d95d98eb97a
orgs.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-b54ac4d997e120a8f01b2de1ebf9b21cad066e752f40b28ec469ece5f2547e56
sync.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-0a0eb6a0b0edb52f3c09646d04438ce3eb920bc9eb82f73eb11dfdac16a55c56
webhooks.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-78b8fdc231e8c2162bf6ee774672871b812e24993fc15361d6f0113e0af17677
state.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-dcb3ec009ed22fb28ba1e49eb85759d37d63294dac9a900e06c3aea601072f19
audit_events_test.rs https://github.com/elcode-id/elcode-forge/pull/236/files#diff-db26bc878338dac9a03e12620b690fff2616a350bfeb70dfe61375b070b3fae7
ARCHITECTURE_STATE.md https://github.com/elcode-id/elcode-forge/pull/236/files#diff-afec48f4f0e556320eb04c370b8daca727e03e9ce35e8632fbb86ceb8b20a0c4
crates/forge-server/src/app.rshttps://github.com/elcode-id/elcode-forge/pull/236/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
View file https://github.com/elcode-id/elcode-forge/blob/a3200f70920dfe9369c244f36fcfafef4bdc67c8/crates/forge-server/src/app.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/236/{{ revealButtonHref }}
https://github.com/elcode-id/elcode-forge/pull/236/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
https://github.com/elcode-id/elcode-forge/pull/236/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
https://github.com/elcode-id/elcode-forge/pull/236/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
https://github.com/elcode-id/elcode-forge/pull/236/files#diff-bb697608af8b0a45bbe775b4a584ffed6318464b42715398f3b1724dce050693
crates/forge-server/src/audit/mod.rshttps://github.com/elcode-id/elcode-forge/pull/236/files#diff-bfb714e79f751ee001e5ce593a9f347175a5aa74ecd69fd8631bfbdd4998b05e
View file https://github.com/elcode-id/elcode-forge/blob/a3200f70920dfe9369c244f36fcfafef4bdc67c8/crates/forge-server/src/audit/mod.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/236/{{ revealButtonHref }}
crates/forge-server/src/auth/jwks.rshttps://github.com/elcode-id/elcode-forge/pull/236/files#diff-3c89bde81a86a900b6ba54e9f629eade06387b3557156b4ab7acb64b044cc580
View file https://github.com/elcode-id/elcode-forge/blob/a3200f70920dfe9369c244f36fcfafef4bdc67c8/crates/forge-server/src/auth/jwks.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/236/{{ revealButtonHref }}
crates/forge-server/src/auth/mod.rshttps://github.com/elcode-id/elcode-forge/pull/236/files#diff-7ebc6ce7262928aad475951767811cec143df50dcdbe5aa1266eb9901a6e4d92
View file https://github.com/elcode-id/elcode-forge/blob/a3200f70920dfe9369c244f36fcfafef4bdc67c8/crates/forge-server/src/auth/mod.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/elcode-id/elcode-forge/pull/236/{{ revealButtonHref }}
https://github.com/elcode-id/elcode-forge/pull/236/files#diff-7ebc6ce7262928aad475951767811cec143df50dcdbe5aa1266eb9901a6e4d92
https://github.com/elcode-id/elcode-forge/pull/236/files#diff-7ebc6ce7262928aad475951767811cec143df50dcdbe5aa1266eb9901a6e4d92
https://github.com/elcode-id/elcode-forge/pull/236/files#diff-7ebc6ce7262928aad475951767811cec143df50dcdbe5aa1266eb9901a6e4d92
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/236/files
Please reload this pagehttps://github.com/elcode-id/elcode-forge/pull/236/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.