Declare organization action View surface

This commit is contained in:
2026-07-28 21:04:54 +02:00
parent dd1937a3af
commit 906879caf1
2 changed files with 20 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ const organizationFunctionActions: OrganizationFunctionActionsUiCapability = {
actions: [
{
id: "idm.view-function-assignments",
surfaceId: "idm.action.view-function-assignments",
label: "i18n:govoplan-idm.view_assignments.2d40d6a5",
icon: createElement(Users, { size: 16 }),
anyOf: idmReadScopes,
@@ -40,6 +41,15 @@ export const idmModule: PlatformWebModule = {
version: "0.1.6",
dependencies: ["identity", "organizations"],
translations,
viewSurfaces: [
{
id: "idm.action.view-function-assignments",
moduleId: "idm",
kind: "action",
label: "View function assignments",
order: 40
}
],
navItems: [
{
to: "/idm",