Merge pull request #1045 from bbassie/feature/role-page-extension-slot

Add a role page extension slot above the permissions
This commit is contained in:
Bastiaan authored and GitHub committed 2026-10-02 21:29:15 +01:00
1 parent 2efb53aab1
commit 793f23a390
2 files changed
+9

No files matched your search

+7
View File
@@ -123,6 +123,13 @@ export type ExtensionSlotProps = {
role: lib.Role;
search?: string;
};
/**
* Placed on each role page between the role details and the permissions.
* `role` is the role the page is displayed for.
*/
RoleViewPageBeforePermissions: {
role: lib.Role;
};
};
export type PluginExtensionSlot = keyof ExtensionSlotProps;