{{ 'PAC.Xpert.XpertUserGroups' | translate: { Default: 'Xpert User Groups' } }}
{{ 'PAC.UserGroup.RuntimeAccessHint' | translate: { Default: 'Published xperts can only be used by members of the selected organization groups.' } }}
{{ xpert()?.title || xpert()?.name }}
{{ 'PAC.UserGroup.SelectedGroups' | translate: { Default: 'Selected Groups' } }}
{{ 'PAC.UserGroup.SelectedGroupsHint' | translate : { Default: 'Choose which organization groups are allowed to access this xpert after publication.' } }}
@if (isTenantXpert()) {
{{ 'ORGANIZATION' | translate: { Default: 'Organization' } }}
{{ 'PAC.UserGroup.AuthorizationByOrganizationHint' | translate : { Default: 'Tenant xperts are authorized per organization. Choose one organization, then configure which of its groups can access this xpert.' } }}
@if (selectedOrganization()) {
{{ 'PAC.UserGroup.SelectedOrganization' | translate: { Default: 'Selected Organization' } }} {{ organizationLabel(selectedOrganization()) }}
}
} @else if (selectedOrganization()) {
{{ 'ORGANIZATION' | translate: { Default: 'Organization' } }}
{{ organizationLabel(selectedOrganization()) }}
}
{{ 'PAC.UserGroup.Title' | translate: { Default: 'User Groups' } }}
{{ selectedGroupCount() }}
{{ 'PAC.UserGroup.Members' | translate: { Default: 'Members' } }}
{{ selectedMemberCount() }}
{{ 'PAC.UserGroup.AccessRule' | translate: { Default: 'Access Rule' } }}
{{ 'PAC.UserGroup.AccessRuleHint' | translate : { Default: 'If no group is selected, organization users cannot use this published xpert at runtime. Tenant-level xperts remain available to their creator.' } }}
{{ 'PAC.UserGroup.SelectedGroups' | translate: { Default: 'Selected Groups' } }}
{{ selectedGroupCount() }} {{ 'PAC.KEY_WORDS.Selected' | translate: { Default: 'selected' } }}
@if (selectedGroups().length) {
@for (group of selectedGroups(); track group.id) { }
} @else {
@if (targetOrganizationId()) { {{ 'PAC.UserGroup.EmptySelectionHint' | translate: { Default: 'Select one or more groups from the right panel to allow runtime access.' } }} } @else { {{ 'PAC.UserGroup.SelectOrganizationFirstHint' | translate: { Default: 'Select an organization first to configure which groups can access this xpert.' } }} }
}
{{ 'PAC.UserGroup.Title' | translate: { Default: 'User Groups' } }}
{{ 'PAC.UserGroup.GroupPickerHint' | translate : { Default: 'Search and select the organization groups that should be allowed to use this xpert.' } }}
@if (selectedOrganization()) {
{{ organizationLabel(selectedOrganization()) }}
}
{{ filteredGroups().length }} {{ 'PAC.KEY_WORDS.Users' | translate: { Default: 'items' } }}
@if (isTenantXpert() && !hasAvailableOrganizations()) {
{{ 'PAC.UserGroup.NoOrganizationsAvailable' | translate: { Default: 'No organizations available for authorization.' } }}
{{ 'PAC.UserGroup.NoOrganizationsAvailableHint' | translate : { Default: 'You need access to at least one organization before you can bind organization groups to this tenant xpert.' } }}
} @else if (!targetOrganizationId()) {
{{ 'PAC.UserGroup.SelectOrganizationFirst' | translate: { Default: 'Select an organization to continue.' } }}
{{ 'PAC.UserGroup.SelectOrganizationFirstHint' | translate: { Default: 'Select an organization first to configure which groups can access this xpert.' } }}
} @else if (!availableGroups().length) {
{{ 'PAC.UserGroup.Empty' | translate: { Default: 'No user groups yet.' } }}
{{ 'PAC.UserGroup.EmptyGroupsHint' | translate : { Default: 'Create organization groups first, then return here to bind them to this xpert.' } }}
} @else if (!filteredGroups().length) {
{{ 'PAC.UserGroup.NoMatchingGroups' | translate: { Default: 'No matching groups.' } }}
{{ 'PAC.UserGroup.NoMatchingMembersHint' | translate: { Default: 'Try another search keyword.' } }}
} @else {
@for (group of filteredGroups(); track group.id) { }
}
@if (isBusy()) {
}