Skip to content

chore(release): v1.6.14 - #136

Merged
mpge merged 1 commit into
mainfrom
release/v1.6.14
Nov 26, 2026
Merged

mpge merged 1 commit into
mainfrom
release/v1.6.14

Conversation

@mpge

@mpge mpge commented Nov 26, 2026

Copy link
Copy Markdown
Member

Release v1.6.14.

Security

  • Signing in through POST /wp-json/escalated/v1/auth/login (or auth/register) no longer gives every user a full-access API token. Escalated admins get *, other staff agent, and everyone else a customer token that only works on the routes about their own account (auth/me, auth/profile, auth/refresh, auth/logout).
  • Every staff API route now checks that the token's owner is still Escalated staff, whatever the visibility setting. Before, the check ran only with department visibility or account scoping on.
  • auth/refresh keeps the token's name, abilities and expiry instead of issuing a new full-access token without an expiry.

Upgrading

  • No migrations. Tokens issued by auth/login before this release to users who are not staff stop working on the staff routes; revoke them on the API tokens screen if you want them gone. A token whose owner is not staff is now refused with 403 User no longer has agent access. (was 401). Agents who sign in through auth/login get an agent token, so they no longer reach the admin routes that way; an admin can still issue a * or admin token to them on the API tokens screen.

Fixed

  • An API request counts once against the rate limit; requests were counted twice, halving the configured limit.

@mpge
mpge merged commit fb1e729 into main Nov 26, 2026
3 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