From e1a76ddaca8df6003b032fb9c67caee25a8cd356 Mon Sep 17 00:00:00 2001 From: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Date: Mon, 23 Mar 2026 22:48:02 -0400 Subject: [PATCH] Improve preRegisterCheck description --- content/guides/09.extensions/3.app-extensions/5.modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/guides/09.extensions/3.app-extensions/5.modules.md b/content/guides/09.extensions/3.app-extensions/5.modules.md index 8675d273..e8123153 100644 --- a/content/guides/09.extensions/3.app-extensions/5.modules.md +++ b/content/guides/09.extensions/3.app-extensions/5.modules.md @@ -49,7 +49,7 @@ export default defineInterface({ | `color` | string | A color associated with the module. | | `routes` | array | List of routes in the module. The routes are registered as nested routes with the module's `id` serving as the base path. | | `hidden` | boolean | A boolean that indicates if the module should be hidden from the module bar. | -| `preRegisterCheck` | function | A function that receives the current user as the first parameter and the permissions of this user as the second parameter. It should return a boolean indicating success. | +| `preRegisterCheck` | function | A function that receives the current user as the first parameter and their permissions as the second. It should return a boolean indicating whether the module should be registered for that user. | :partial{content="extensions-uid"}