Fix: VelaUX fixes from the v1.12 release testing
Draft
BR
14h ago+1078+1078+0123456789012345678901234567890123456789-239-239-012345678901234567890123456789
Description of your changes
The VelaUX fixes from the v1.12 release testing, one commit each, best reviewed commit by commit:
- Fix(api): require a signed-in user for the expression endpoints
- Fix(config): refuse a config template from another namespace
- Fix(auth): keep the token signing key in a Secret
- Fix(config): edit a Config whose template is still a legacy ConfigMap
- Fix: create an application or environment only in the project authorized
- Fix: filter the application list by its search query
- Fix: leave module definitions out of the definition lists
- Fix: leave the Dex client secret out of the public Dex config
- Fix: give each install its own Dex client secret
- Fix(auth): end a user's sessions on disable, password or role change, delete and logout
Each commit message says what was wrong and what changed. The user-visible ones are in the v1.12 upgrade guide
(kubevela/kubevela.github.io#1473).
I have:
- All commits are signed off (DCO).
How has this code been tested
Each fix has a test written first that fails without it. The Go tests pass (25 packages), lint is clean, and the UI
type-checks.
Special notes for your reviewer
- After kubevela/kubevela#7587 merges, this branch re-pins kubevela for the resource tree fix there; the PR
stays a draft until then. - Existing sessions end on upgrade, since the token signing key moves into a Secret: users sign in again once.