M1 review round 3: late staff collections without guessing Payload's default; rules survive a dev reload

R3-1 nothing is decided by a function's name any more (a production build renames it): on a collection that
     arrives after ipalKit the plugin's rule is put in FRONT of the rule that is there and both must allow
     (bothAllow). unlock follows the same table. The log says exactly what was put.
R3-2 the adoption walks the live config (payload.config), which Payload swaps first on a dev reload.
R3-3 readVersions gets the read rule on staff collections.
R3-5 a secret that is not text is refused.
Also: the async check of requireSetup.exempt compares the constructor, not its name.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-25 00:39:24 +01:00
co-authored by Claude Fable 5.2
parent 3e44863c98
commit 6e0ad26b2c
13 changed files with 288 additions and 72 deletions
@@ -16,6 +16,7 @@ export const integrationsTexts = defineTexts({
maskedRemoved: 'The stored value will be removed when you save.',
maskedSet: 'A value is set. It is not shown; type a new one to replace it.',
maskedShow: 'Show',
secretNotText: 'Enter the value as text.',
secretReenter: 'Enter the password again: the server, port or user name changed. To use the server without a password, remove the stored value.',
// Status banner on an integration's tab (IntegrationStatusBanner)
@@ -75,6 +76,7 @@ export const integrationsTexts = defineTexts({
maskedRemoved: 'Zapisana wartość zostanie usunięta po zapisaniu.',
maskedSet: 'Wartość jest ustawiona. Nie jest wyświetlana; wpisz nową, aby ją zastąpić.',
maskedShow: 'Pokaż',
secretNotText: 'Wpisz wartość jako tekst.',
secretReenter: 'Wpisz hasło ponownie: zmienił się serwer, port lub nazwa użytkownika. Aby używać serwera bez hasła, usuń zapisaną wartość.',
statusCode: 'Kod: {{code}}.',