8000 README: the UI ships in the binary, and /whoami returns no roles (0.1.3) by ynishi · Pull Request #23 · ynishi/evalhub · GitHub
[go: up one dir, main page]

README: the UI ships in the binary, and /whoami returns no roles (0.1.3) - #23

Merged
ynishi merged 1 commit into
mainfrom
docs/readme-drift
Sep 24, 2026
Merged

ynishi merged 1 commit into
mainfrom
docs/readme-drift

Conversation

@ynishi
@ynishi ynishi commented Sep 24, 2026
Copy link
Copy Markdown
Owner

Release 0.1.3. What changed since 0.1.2:

Organisations in the web UI (#17)

Settings creates an organisation (the creator is its first admin); the organisation's namespace page shows its roster and adds, updates and removes members. Browser tests drive the flow against the release binary.

The roster rule, documented as the token rule it is (#20)

GET /orgs/{org}/members asks that the presented token names the organisation, like every other read. The module doc, the handler, /openapi.json and the README said membership was enough; they now say what the code does. docs/hosting.md gains a section on making an organisation in two steps: create it, then issue a token that names it.

The organisation page after creating one (#21)

A signed-in token that does not name the organisation now gets a line saying why the roster is missing and a link to Settings with the token form filled in; Settings fills the same form right after creating an organisation. Member controls appear only for an admin token of an admin member, which is what the hub accepts.

This pull request

README.md: §Status no longer says the UI is being built, and the /whoami row names the fields the response has (user, scope, namespaces — no organisation roles). Carries the version bump to 0.1.3.

Verification

cargo fmt --check; cargo clippy --workspace --all-targets -- -D warnings; cargo test -p evalhub-schema, -core, -query; just package (all three crates at 0.1.3, gate ok); just semver-check: no semver update required for any of the three. No Rust source changed in this pull request; evalhub-store / evalhub-server tests were not run here.

The UI changes of #21 were deployed to the hosted service from main before this release and passed deploy/fly/smoke.sh.

Refs #22

The Status section still said the web UI was being built. It is
compiled into the binary and is what the hosted service serves; only a
debug build without web-dist falls back to the placeholder page, which
is what the Web UI section below already says.

The Identity table said GET /whoami returns the token's organisation
roles. It returns the user, the scope and the namespaces
(api/meta.rs), and nothing else; the UI reads a caller's role from the
roster instead.

Ends the 0.1.3 release: the organisation screens (#17), the roster rule
documented as the token rule (#20), and the organisation page's empty
state and admin-only controls (#21).

Verified: cargo fmt --check; cargo clippy --workspace --all-targets -D
warnings; cargo test -p evalhub-schema / -core / -query; just package;
just semver-check.

Refs #22

Signed-off-by: Yutaka Nishimura <ytk.nishimura@gmail.com>
@ynishi
ynishi merged commit 0c96b4a into main Sep 24, 2026
4 checks passed
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

0