feat: complete current GoChat updates

This commit is contained in:
2026-09-13 00:13:55 +08:00
parent 6e62f5094f
commit 0dd188c46f
58 changed files with 2662 additions and 1503 deletions
@@ -57,9 +57,9 @@ describe('#validateRouteAccess', () => {
expect(next).toHaveBeenCalledWith('/app/login');
});
it('allows routes that were previously restricted to enterprise installs', () => {
it('ignores unknown route metadata', () => {
validateRouteAccess(
{ name: 'reset_password', meta: { requireEnterprise: true } },
{ name: 'reset_password', meta: { legacyAccessFlag: true } },
next
);
expect(next).toHaveBeenCalledWith();