Add composable HTTP access roles #62

Merged
sjg merged 3 commits from agent/refactor-account-system into main 2026-08-11 01:20:39 +02:00
Owner

Summary

  • add composable Read, Control, Write, and Administrator roles
  • bootstrap configurable guest/guest Read account and grant bootstrap admin every role
  • enforce logbook/bookmark write permissions and preserve at least one administrator
  • migrate existing user/admin account files and add multi-role management UI

Verification

  • cargo test -p trx-config -p trx-frontend-http
  • cargo clippy -p trx-client -- -D warnings
  • npm run typecheck
  • npm run lint
  • npm test
  • npm run build

Browser tests require Chromium, which is unavailable in the execution environment.

## Summary - add composable Read, Control, Write, and Administrator roles - bootstrap configurable guest/guest Read account and grant bootstrap admin every role - enforce logbook/bookmark write permissions and preserve at least one administrator - migrate existing user/admin account files and add multi-role management UI ## Verification - cargo test -p trx-config -p trx-frontend-http - cargo clippy -p trx-client -- -D warnings - npm run typecheck - npm run lint - npm test - npm run build Browser tests require Chromium, which is unavailable in the execution environment.
sjg added 3 commits 2026-08-11 01:07:11 +02:00
Add composable HTTP access roles
CI / lint (pull_request) Successful in 2m24s
CI / test (pull_request) Successful in 9m24s
CI / frontend (pull_request) Successful in 5m12s
CI / reuse (pull_request) Successful in 6s
CI / lint (push) Successful in 2m24s
CI / test (push) Successful in 8m8s
CI / frontend (push) Successful in 4m15s
CI / reuse (push) Successful in 5s
34507ffa17
sjg merged commit 34507ffa17 into main 2026-08-11 01:20:39 +02:00
sjg deleted branch agent/refactor-account-system 2026-08-11 01:20:39 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sjg/trx-rs#62