- A password sign-in refused by policy (PASSWORD_LOGIN_ENABLED=false,
forgot password off, LDAP's password-login guard) was counted by the
lockout as a wrong password, which threw its own 403 "Incorrect password"
over the policy's error: the person was told the wrong thing, and enough
attempts locked the account because of a setting. Policy refusals are no
guesses now (loginFailureDecision.js).
- Auto-archive fetched its boards without their members, so boardActorId
found nobody and every auto-archive was recorded as no user.
- Every upload got two "added" rows in the card history: the upload hook's
and the content index's. The index writes its row only for an attachment
that has none, and never for a durable rule copy, whose plan writes it.
- Not found is undefined from Meteor 3's findOneAsync: the Admin Panel
addresses test accepts either.
meteor test --full-app: 699 passing, 0 failing (was 693 / 6).
Thanks to xet7 !
Admin Panel / Settings / Privacy and security / Allowed addresses is a list of
IPv4 and IPv6 addresses and CIDR ranges. Empty, the default, is any address.
When it is set, a site administrator at any other address reads as a member:
every admin method, publication, allow rule and admin REST endpoint refuses
them, the Admin Panel's tabs say why, and their boards keep working. Members
are not affected.
It is enforced where every admin check reads: the caller's user document,
through Meteor.users.findOneAsync (Meteor.userAsync, ReactiveCache.getUser
and the allow rules all end there). For the caller of the running DDP method,
publication or HTTP request, their own document reads isAdmin false, and a
query that asks about isAdmin answers as it would for a member. Signing in
reads the stored flag, because OIDC and LDAP write it back.
The address and range rules are the Cloud Panel's (models/lib/cloudAddresses.js),
and the address is resolved with HTTP_FORWARDED_COUNT like every other guard.
A list without the saver's own address is refused, in the page before saving
and on the server, and a browser write of the field is denied. The server's
ADMIN_PANEL_ALLOWED_IP_ADDRESSES wins over the list, and "any" lifts it: the
way back in. It is listed on every platform.
A refused admin action from another address is one row in Admin Panel /
Problems (authz.admin-panel-address), once per call, without disabling the
account.
Translations of the three new strings into every locale were written
directly; the rarer languages (for example Cherokee, Inuktitut, Tigre,
Wolaytta, Nahuatl, Veps, Klingon) are low confidence.
Thanks to xet7 !