Repository URL to install this package:
import { State } from '@progress/kendo-data-query';
import { OnInit, Renderer2, NgZone, AfterViewInit, OnDestroy } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { SelectableSettings, SelectionEvent, PageChangeEvent, GridDataResult, DataStateChangeEvent } from '@progress/kendo-angular-grid';
import { UsersService, GroupsService, RolesService, PermissionsService, Group, Permission, Role, CacheService } from '@wa-motif-open-api/auth-access-control-service';
import { Domain } from '@wa-motif-open-api/platform-service';
import { UsersService as PlatformUsersService, AdminsService as PlatformAdminsService, ClientsService as PlatformClientsService, User, AdminUser, ClientUser } from '@wa-motif-open-api/user-mgr-service';
import { WCNotificationCenter, WCGridEditorCommandsConfig } from 'web-console-ui-kit';
import { NewUserDialogComponent, UserDialogResult } from './dialogs/user/new-user-dialog';
import { NewAclEntityDialogComponent, DialogResult as AclDialogResult } from './dialogs/acl/entities/new-acl-entity-dialog';
import { UsersListComponent } from './users-list/users-list.component';
import { AclRelationsDialogComponent } from './dialogs/acl/relations/acl-relations-dialog';
import { PasswordChangeDialogResult, PasswordChangeDialogComponent } from './dialogs/password/password-change-dialog';
import { MotifACLService } from 'web-console-motif-acl';
import { ConfirmationDialogComponent } from '../../../components/ConfirmationDialog/confirmation-dialog-component';
export declare class AccessControlSectionComponent implements OnInit, AfterViewInit, OnDestroy {
private logger;
private motifACLService;
private platformUsersService;
private platformAdminsService;
private platformClientsService;
private usersService;
private groupsService;
private rolesService;
private permissionsService;
private cacheService;
private notificationCenter;
private renderer;
private zone;
adminsLoading: boolean;
clientsLoading: boolean;
groupsLoading: boolean;
rolesLoading: boolean;
permissionsLoading: boolean;
size: string;
height: string;
private destroy;
_newAclEntityDialog: NewAclEntityDialogComponent;
_newUserDialog: NewUserDialogComponent;
_aclRelationsDialog: AclRelationsDialogComponent;
_passwordChangeDialog: PasswordChangeDialogComponent;
_usersListGrid: UsersListComponent;
confirmationDialog: ConfirmationDialogComponent;
userCommands: WCGridEditorCommandsConfig;
commands: WCGridEditorCommandsConfig;
dropDownButtonItems: Array<any>;
selectedDomain: string;
selectedEntity: string;
usersTabSelected: boolean;
adminsTabSelected: boolean;
clientsTabSelected: boolean;
userSelection: string[];
adminSelection: string[];
clientSelection: string[];
groupSelection: string[];
roleSelection: string[];
rolesGridView: GridDataResult;
rolesDataState: State;
permissionsGridView: GridDataResult;
permissionsDataState: State;
usersData: User[];
adminsData: AdminUser[];
clientsData: ClientUser[];
groupsData: Group[];
rolesData: Role[];
permissionsData: Permission[];
selectableSettings: SelectableSettings;
constructor(logger: NGXLogger, motifACLService: MotifACLService, platformUsersService: PlatformUsersService, platformAdminsService: PlatformAdminsService, platformClientsService: PlatformClientsService, usersService: UsersService, groupsService: GroupsService, rolesService: RolesService, permissionsService: PermissionsService, cacheService: CacheService, notificationCenter: WCNotificationCenter, renderer: Renderer2, zone: NgZone);
ngOnInit(): void;
ngOnDestroy(): void;
ngAfterViewInit(): void;
onRolesDataStateChange(state: DataStateChangeEvent): void;
private loadRoles;
permissionsPageChange(event: PageChangeEvent): void;
onPermissionsDataStateChange(state: DataStateChangeEvent): void;
private loadPermissions;
onUserSelectionChange(e: SelectionEvent): void;
onGroupSelectionChange(e: SelectionEvent): void;
onRoleSelectionChange(e: SelectionEvent): void;
onDomainSelected(domain: Domain): void;
enableDropDownItems(enabled: Boolean): void;
disableAllDropDownItems(): void;
clearAllGridSelections(): void;
clearAllGridData(): void;
loadGrids(gridsToLoadBitfield: number): void;
onResetClicked(): void;
onInvalidateCacheClicked(): void;
onInvalidationCancel(userData: any): void;
onInvalidationOK(userData: any): void;
onLayoutChange(): void;
onDialogClose(touched: Boolean): void;
onAdminCommandClick(event: any): void;
onClientCommandClick(event: any): void;
onGroupCommandClick(event: any): void;
onRoleCommandClick(event: any): void;
onAdminCommandConfirm(dataItem: any): void;
onClientCommandConfirm(dataItem: any): void;
onGroupCommandConfirm(dataItem: any): void;
onRoleCommandConfirm(dataItem: any): void;
onPermissionCommandConfirm(dataItem: any): void;
onUserRowCommandClick(event: any): void;
onAddButtonItemClick(event: any): void;
onNewAclEntityConfirm(event: AclDialogResult): void;
onNewUserConfirm(event: UserDialogResult): void;
onPasswordChangeConfirm(event: PasswordChangeDialogResult): void;
onTabChange(): void;
private deleteEntity;
private createOrUpdateEntity;
private changePassword;
private passwordChangeSuccessHandler;
private passwordChangeErrorHandler;
}