Radosław Smoliński and Claude Opus 5.5
de414a81a8
Role checks in client components: export them from /client, fix the docs
...
access.md and the 1.16.4 upgrade notes led projects to import isAdmin from
'@intecion/ipal-kit' in a client component; with `next build --webpack` that
fails ('server-only' cannot be imported from a Client Component module).
No existing entry had a client-safe one, so '@intecion/ipal-kit/client' now
exports hasMinimumRole, isAdmin, isEditor and the type Role; the main entry
keeps them for server code.
Docs: access.md (snippet with imports, server vs client, useConfig() carries
admin.user only), AGENT.md, ipal-debug, ipal-reference, ipal-upgrade, the
1.16.4 note, an Unreleased changelog entry. Tests: /client reaches no
server-only module, the predicates' answers with a client config, no
client-component example in the docs imports the main entry.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-11-24 22:00:27 +01:00
..
2026-11-24 01:46:25 +01:00
2026-11-24 01:46:25 +01:00
2026-11-24 00:31:55 +01:00
2026-10-29 12:21:21 +01:00
2026-10-29 14:05:47 +01:00
2026-10-27 16:31:46 +01:00
2026-10-22 18:54:08 +02:00
2026-11-05 12:55:44 +01:00
2026-10-29 15:03:39 +01:00
2026-10-29 15:03:39 +01:00
2026-10-29 14:05:47 +01:00
2026-10-29 16:38:04 +01:00
2026-10-29 14:05:47 +01:00
2026-10-29 16:38:04 +01:00
2026-10-29 16:38:09 +01:00
2026-10-19 19:38:28 +02:00
2026-10-16 20:53:25 +02:00
2026-10-27 16:31:46 +01:00
2026-10-28 22:17:46 +01:00
2026-10-27 15:14:01 +01:00
2026-10-28 22:17:46 +01:00
2026-10-28 22:55:11 +01:00
2026-10-29 11:29:56 +01:00
2026-10-21 16:45:03 +02:00
2026-10-29 15:04:54 +01:00
2026-11-24 22:00:27 +01:00
2026-11-24 19:32:34 +01:00
2026-10-27 15:46:25 +01:00
2026-11-13 17:02:10 +01:00
2026-10-17 01:29:00 +02:00
2026-11-13 16:24:27 +01:00
2026-11-24 22:00:27 +01:00
2026-11-24 00:01:18 +01:00
2026-10-17 03:20:11 +02:00
2026-10-29 11:54:35 +01:00
2026-10-29 11:29:56 +01:00
2026-11-13 17:09:14 +01:00
2026-11-13 17:02:10 +01:00
2026-10-19 21:32:40 +02:00
2026-10-29 14:05:47 +01:00
2026-11-24 00:31:55 +01:00
2026-10-22 17:17:42 +02:00
2026-10-15 23:56:18 +02:00
2026-10-22 17:09:01 +02:00
2026-10-29 16:38:04 +01:00
2026-10-27 15:46:25 +01:00
2026-10-27 15:46:25 +01:00
2026-10-22 17:35:08 +02:00
2026-10-29 15:31:43 +01:00
2026-10-29 15:29:07 +01:00
2026-10-20 00:46:44 +02:00
2026-10-16 02:19:08 +02:00
2026-10-21 16:45:03 +02:00
2026-10-19 21:32:40 +02:00
2026-11-24 01:46:25 +01:00
2026-10-16 01:26:10 +02:00
2026-11-24 20:18:47 +01:00
2026-11-24 00:01:18 +01:00
2026-10-22 17:35:08 +02:00
2026-10-29 15:17:11 +01:00
2026-10-22 17:04:09 +02:00
2026-10-22 17:17:42 +02:00
2026-10-22 17:35:08 +02:00
2026-11-24 19:32:34 +01:00
2026-11-24 20:31:44 +01:00
2026-10-27 21:28:11 +01:00
2026-11-24 19:32:34 +01:00
2026-11-24 01:02:34 +01:00
2026-11-24 18:46:32 +01:00
2026-11-24 01:02:34 +01:00
2026-10-29 16:39:55 +01:00
2026-10-29 19:19:14 +01:00
2026-11-12 15:33:35 +01:00
2026-11-13 14:29:41 +01:00
2026-11-24 20:18:47 +01:00
2026-10-27 15:14:01 +01:00
2026-10-29 16:08:40 +01:00
2026-10-27 15:14:01 +01:00
2026-11-24 01:46:25 +01:00
2026-11-24 20:31:44 +01:00
2026-10-21 16:45:03 +02:00
2026-11-24 00:01:19 +01:00
2026-10-21 15:10:55 +02:00
2026-10-27 15:46:25 +01:00
2026-10-16 02:19:08 +02:00
2026-10-27 16:17:40 +01:00
2026-10-19 21:32:40 +02:00
2026-10-27 14:59:41 +01:00
2026-10-29 11:29:56 +01:00
2026-10-29 12:06:55 +01:00
2026-10-28 21:27:19 +01:00
2026-11-24 18:56:07 +01:00
2026-11-24 00:31:55 +01:00
2026-10-15 23:56:18 +02:00
2026-10-27 16:42:05 +01:00