Skip to content

Fix/governance wiring gaps#1

Merged
Mec-iS merged 2 commits into
tuned-org-uk:mainfrom
Genefold:fix/governance-wiring-gaps
May 8, 2026
Merged

Fix/governance wiring gaps#1
Mec-iS merged 2 commits into
tuned-org-uk:mainfrom
Genefold:fix/governance-wiring-gaps

Conversation

@Mec-iS

@Mec-iS Mec-iS commented May 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Mec-iS added 2 commits April 28, 2026 15:00
Gap 1 – README.md and run_local.sh: fix stale repo URLs
  tuned-org-uk/solid-community-rs → Genefold/solid-data-governance-rs
  doap:homepage in test-subjects.ttl updated to match

Gap 2 – server-core/src/middleware.rs: add extract_credentials()
  Parses Authorization: Bearer <token> and injects Credentials into
  Axum request extensions so downstream authz layers can read them.

Gap 3 – server-core/src/pipeline.rs: wire PermissionReader + Authorizer
  RequestPipeline::new() now accepts Arc<dyn PermissionReader> and
  Arc<dyn Authorizer>. build_router() applies authz_middleware which
  calls permission_reader.read() → authorizer.authorize() before every
  handler.  A PassThroughAuthorizer default is provided so existing
  tests keep passing.

Gap 4 – server-core/src/store.rs: implement ResourceStore on LdpStore
  Delegates get/put/delete to the existing HashMap so server-core and
  solid-storage are no longer disconnected.

Gap 5 – server-core/src/lib.rs: re-export authz types

Gap 6 – integration-tests: add WAC suite
  Three cases: unprotected GET → 200, protected GET without credentials
  → 401, WAC-Allow header present on protected resource response.
  Registered in runner.rs and mod.rs.

Legal – .github/CONTRIBUTING.md: volunteer/IP conditions
Legal – .github/pull_request_template.md: contributor declaration
Legal – LICENSE: already correct, no change
@Mec-iS Mec-iS merged commit b57e45b into tuned-org-uk:main May 8, 2026
1 check failed
@Mec-iS Mec-iS deleted the fix/governance-wiring-gaps branch May 8, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant