Files
ipal-kit/test/accountRulesLateStaff.test.ts
Radosław SmolińskiandClaude Fable 5.2 20809ba933 L-2: a config collection that becomes staff later keeps the rules it had at config time
A collection of the config that is not named as staff and that a plugin listed after
ipalKit makes the panel's (admin.user) was adopted as a late collection: the plugin's
rule went in front of every rule, also the ones the project wrote. The marker now
holds the operations that had a rule at config time (own); those are left as written
when the collection is handled again, and an operation without one gets the plugin's.
The start log tells this case from a collection a later plugin added.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-25 10:03:31 +01:00

10 lines
357 B
TypeScript

/** A config collection that a later plugin makes the panel's, 2FA off — see accountRulesLateStaffSuite.ts. */
import { vi } from 'vitest'
import { lateStaffSuite } from './accountRulesLateStaffSuite.js'
vi.mock('server-only', () => ({}))
vi.mock('next/headers.js', async () => (await import('./http/server.js')).nextHeadersMock)
lateStaffSuite(false)