HAXiam Multi-Tenant Path/User Alignment
RULES.md
When changing API endpoints or auth code in haxcms-php or haxcms-nodejs, check the HAXiam path (`config->iam`) as well as single-tenant mode. In multi-tenant mode each user has an isolated sites directory, and endpoints such as `connectionSettings` must enforce strict alignment between the authenticated user and the requested path (for example `getIAMTenantUserName()` and `getRequestPathUserName()`). Never weaken that check, and verify the change in both backends. Rationale: KNOWLEDGE.md entry "HAXiam multi-tenant auth model". In PRAW RULES.md (scope: haxcms). Nothing enforces this yet.
Status: gap
Connects to
- Architecture & File Structure Rules includes this