@acorex-platform/module-security-management-server 0.0.18 → 2.0.0-next.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/src/AXM_USER_ACCESS_STATE_DEFINITION_KEY.js.map +1 -1
- package/contracts/src/AXM_USER_EFFECTIVE_STATE_DEFINITION_KEY.js.map +1 -1
- package/contracts/src/ROLE_PERMISSIONS_PAGE_COMPONENT_KEY.d.ts +2 -0
- package/contracts/src/ROLE_PERMISSIONS_PAGE_COMPONENT_KEY.js +6 -0
- package/contracts/src/ROLE_PERMISSIONS_PAGE_COMPONENT_KEY.js.map +1 -0
- package/contracts/src/USER_ROLES_PAGE_COMPONENT_KEY.d.ts +1 -0
- package/contracts/src/USER_ROLES_PAGE_COMPONENT_KEY.js +5 -0
- package/contracts/src/USER_ROLES_PAGE_COMPONENT_KEY.js.map +1 -0
- package/contracts/src/create-application-role-rows.util.d.ts +15 -0
- package/contracts/src/create-application-role-rows.util.js +67 -0
- package/contracts/src/create-application-role-rows.util.js.map +1 -0
- package/contracts/src/device-session-admin-scope.d.ts +15 -0
- package/contracts/src/device-session-admin-scope.js +16 -0
- package/contracts/src/device-session-admin-scope.js.map +1 -0
- package/contracts/src/entities/device-sessions/device-sessions.entity.js +50 -1
- package/contracts/src/entities/device-sessions/device-sessions.entity.js.map +1 -1
- package/contracts/src/entities/device-sessions/device-sessions.types.d.ts +7 -0
- package/contracts/src/entities/device-sessions/device-sessions.types.js.map +1 -1
- package/contracts/src/entities/device-sessions/index.d.ts +0 -1
- package/contracts/src/entities/device-sessions/index.js +0 -1
- package/contracts/src/entities/device-sessions/index.js.map +1 -1
- package/contracts/src/entities/identity-provider/identity-provider.entity.d.ts +2 -0
- package/contracts/src/entities/identity-provider/identity-provider.entity.js +453 -0
- package/contracts/src/entities/identity-provider/identity-provider.entity.js.map +1 -0
- package/contracts/src/entities/identity-provider/identity-provider.types.d.ts +61 -0
- package/contracts/src/entities/identity-provider/identity-provider.types.js +14 -0
- package/contracts/src/entities/identity-provider/identity-provider.types.js.map +1 -0
- package/contracts/src/entities/identity-provider/index.d.ts +1 -0
- package/contracts/src/entities/identity-provider/index.js +5 -0
- package/contracts/src/entities/identity-provider/index.js.map +1 -0
- package/contracts/src/entities/index.d.ts +4 -0
- package/contracts/src/entities/index.js +4 -0
- package/contracts/src/entities/index.js.map +1 -1
- package/contracts/src/entities/policy/index.d.ts +0 -1
- package/contracts/src/entities/policy/index.js +0 -1
- package/contracts/src/entities/policy/index.js.map +1 -1
- package/contracts/src/entities/policy/policy.entity.js +15 -0
- package/contracts/src/entities/policy/policy.entity.js.map +1 -1
- package/contracts/src/entities/policy/policy.types.js.map +1 -1
- package/contracts/src/entities/profile/index.d.ts +0 -1
- package/contracts/src/entities/profile/index.js +0 -1
- package/contracts/src/entities/profile/index.js.map +1 -1
- package/contracts/src/entities/profile/profile.entity.js +15 -0
- package/contracts/src/entities/profile/profile.entity.js.map +1 -1
- package/contracts/src/entities/profile/profile.types.js.map +1 -1
- package/contracts/src/entities/role-permission/index.d.ts +1 -0
- package/contracts/src/entities/role-permission/index.js +5 -0
- package/contracts/src/entities/role-permission/index.js.map +1 -0
- package/contracts/src/entities/role-permission/role-permission.entity.d.ts +2 -0
- package/contracts/src/entities/role-permission/role-permission.entity.js +163 -0
- package/contracts/src/entities/role-permission/role-permission.entity.js.map +1 -0
- package/contracts/src/entities/role-permission/role-permission.types.d.ts +11 -0
- package/contracts/src/entities/role-permission/role-permission.types.js +5 -0
- package/contracts/src/entities/role-permission/role-permission.types.js.map +1 -0
- package/contracts/src/entities/roles/index.d.ts +0 -1
- package/contracts/src/entities/roles/index.js +0 -1
- package/contracts/src/entities/roles/index.js.map +1 -1
- package/contracts/src/entities/roles/roles.entity.js +73 -144
- package/contracts/src/entities/roles/roles.entity.js.map +1 -1
- package/contracts/src/entities/roles/roles.types.d.ts +4 -1
- package/contracts/src/entities/roles/roles.types.js.map +1 -1
- package/contracts/src/entities/user-role/index.d.ts +1 -0
- package/{src/lib/seed/tenant → contracts/src/entities/user-role}/index.js +1 -1
- package/contracts/src/entities/user-role/index.js.map +1 -0
- package/contracts/src/entities/user-role/user-role.entity.d.ts +2 -0
- package/contracts/src/entities/user-role/user-role.entity.js +164 -0
- package/contracts/src/entities/user-role/user-role.entity.js.map +1 -0
- package/contracts/src/entities/user-role/user-role.types.d.ts +11 -0
- package/contracts/src/entities/user-role/user-role.types.js +5 -0
- package/contracts/src/entities/user-role/user-role.types.js.map +1 -0
- package/contracts/src/entities/user-two-factor/index.d.ts +2 -0
- package/contracts/src/entities/user-two-factor/index.js +8 -0
- package/contracts/src/entities/user-two-factor/index.js.map +1 -0
- package/contracts/src/entities/user-two-factor/user-two-factor.entity.d.ts +6 -0
- package/contracts/src/entities/user-two-factor/user-two-factor.entity.js +103 -0
- package/contracts/src/entities/user-two-factor/user-two-factor.entity.js.map +1 -0
- package/contracts/src/entities/user-two-factor/user-two-factor.types.d.ts +24 -0
- package/contracts/src/entities/user-two-factor/user-two-factor.types.js +4 -0
- package/contracts/src/entities/user-two-factor/user-two-factor.types.js.map +1 -0
- package/contracts/src/entities/users/index.d.ts +1 -1
- package/contracts/src/entities/users/index.js +1 -1
- package/contracts/src/entities/users/index.js.map +1 -1
- package/contracts/src/entities/users/user-provisioning-list-actions.d.ts +8 -0
- package/contracts/src/entities/users/user-provisioning-list-actions.js +95 -0
- package/contracts/src/entities/users/user-provisioning-list-actions.js.map +1 -0
- package/contracts/src/entities/users/users.entity.js +244 -83
- package/contracts/src/entities/users/users.entity.js.map +1 -1
- package/contracts/src/entities/users/users.types.d.ts +15 -0
- package/contracts/src/entities/users/users.types.js.map +1 -1
- package/contracts/src/entity-catalog.d.ts +7 -0
- package/contracts/src/entity-catalog.js +28 -0
- package/contracts/src/entity-catalog.js.map +1 -0
- package/contracts/src/entity-entry.device-sessions.d.ts +1 -0
- package/contracts/src/entity-entry.device-sessions.js +6 -0
- package/contracts/src/entity-entry.device-sessions.js.map +1 -0
- package/contracts/src/entity-entry.identity-provider.d.ts +1 -0
- package/contracts/src/entity-entry.identity-provider.js +6 -0
- package/contracts/src/entity-entry.identity-provider.js.map +1 -0
- package/contracts/src/entity-entry.policy.d.ts +1 -0
- package/contracts/src/entity-entry.policy.js +6 -0
- package/contracts/src/entity-entry.policy.js.map +1 -0
- package/contracts/src/entity-entry.profile.d.ts +1 -0
- package/contracts/src/entity-entry.profile.js +6 -0
- package/contracts/src/entity-entry.profile.js.map +1 -0
- package/contracts/src/entity-entry.role-permission.d.ts +1 -0
- package/contracts/src/entity-entry.role-permission.js +6 -0
- package/contracts/src/entity-entry.role-permission.js.map +1 -0
- package/contracts/src/entity-entry.roles.d.ts +1 -0
- package/contracts/src/entity-entry.roles.js +6 -0
- package/contracts/src/entity-entry.roles.js.map +1 -0
- package/contracts/src/entity-entry.user-role.d.ts +1 -0
- package/contracts/src/entity-entry.user-role.js +6 -0
- package/contracts/src/entity-entry.user-role.js.map +1 -0
- package/contracts/src/entity-entry.user-two-factor.d.ts +1 -0
- package/contracts/src/entity-entry.user-two-factor.js +6 -0
- package/contracts/src/entity-entry.user-two-factor.js.map +1 -0
- package/contracts/src/entity-entry.users.d.ts +1 -0
- package/contracts/src/entity-entry.users.js +6 -0
- package/contracts/src/entity-entry.users.js.map +1 -0
- package/contracts/src/features.keys.d.ts +4 -0
- package/contracts/src/features.keys.js +4 -0
- package/contracts/src/features.keys.js.map +1 -1
- package/contracts/src/index.d.ts +10 -1
- package/contracts/src/index.js +10 -1
- package/contracts/src/index.js.map +1 -1
- package/contracts/src/invite-application-role-rows.util.d.ts +16 -0
- package/contracts/src/invite-application-role-rows.util.js +68 -0
- package/contracts/src/invite-application-role-rows.util.js.map +1 -0
- package/contracts/src/invite-assignable-roles.util.d.ts +34 -0
- package/contracts/src/invite-assignable-roles.util.js +75 -0
- package/contracts/src/invite-assignable-roles.util.js.map +1 -0
- package/contracts/src/lib/context.definitions.d.ts +2 -0
- package/contracts/src/lib/context.definitions.js +15 -0
- package/contracts/src/lib/context.definitions.js.map +1 -0
- package/contracts/src/manifest.d.ts +6 -0
- package/contracts/src/manifest.js +24 -0
- package/contracts/src/manifest.js.map +1 -0
- package/contracts/src/menu.keys.d.ts +1 -0
- package/contracts/src/menu.keys.js +1 -0
- package/contracts/src/menu.keys.js.map +1 -1
- package/contracts/src/permission.keys.d.ts +48 -18
- package/contracts/src/permission.keys.js +49 -21
- package/contracts/src/permission.keys.js.map +1 -1
- package/contracts/src/resolve-user-effective-state.js.map +1 -1
- package/contracts/src/root-config.d.ts +33 -0
- package/contracts/src/root-config.js +33 -0
- package/contracts/src/root-config.js.map +1 -1
- package/contracts/src/server-commands.d.ts +322 -0
- package/contracts/src/server-commands.js +77 -1
- package/contracts/src/server-commands.js.map +1 -1
- package/contracts/src/settings.keys.d.ts +16 -0
- package/contracts/src/settings.keys.js +21 -0
- package/contracts/src/settings.keys.js.map +1 -0
- package/contracts/src/user-access-state.js.map +1 -1
- package/contracts/src/user-effective-state.js.map +1 -1
- package/contracts/src/user-invitation.d.ts +41 -0
- package/contracts/src/user-invitation.js +18 -0
- package/contracts/src/user-invitation.js.map +1 -0
- package/contracts/src/user-password-reset.js.map +1 -1
- package/package.json +16 -18
- package/server/src/index.d.ts +3 -0
- package/server/src/index.js +11 -0
- package/server/src/index.js.map +1 -0
- package/server/src/lib/effective-access-history/effective-access-history.service.d.ts +35 -0
- package/server/src/lib/effective-access-history/effective-access-history.service.js +486 -0
- package/server/src/lib/effective-access-history/effective-access-history.service.js.map +1 -0
- package/server/src/lib/effective-access-history/effective-access-history.types.d.ts +64 -0
- package/server/src/lib/effective-access-history/effective-access-history.types.js +5 -0
- package/server/src/lib/effective-access-history/effective-access-history.types.js.map +1 -0
- package/server/src/lib/effective-access-history/version-as-of.util.d.ts +37 -0
- package/server/src/lib/effective-access-history/version-as-of.util.js +167 -0
- package/server/src/lib/effective-access-history/version-as-of.util.js.map +1 -0
- package/server/src/lib/entities/index.d.ts +1 -0
- package/server/src/lib/entities/index.js +5 -0
- package/{src/lib/seed/tenant → server/src/lib/entities}/index.js.map +1 -1
- package/server/src/lib/entities/security-management.entity-catalog.d.ts +1 -0
- package/server/src/lib/entities/security-management.entity-catalog.js +12 -0
- package/server/src/lib/entities/security-management.entity-catalog.js.map +1 -0
- package/server/src/lib/handlers/security-report.handlers.d.ts +36 -0
- package/server/src/lib/handlers/security-report.handlers.js +164 -0
- package/server/src/lib/handlers/security-report.handlers.js.map +1 -0
- package/server/src/lib/identity-provider/auth-oauth-clients.constants.d.ts +5 -0
- package/server/src/lib/identity-provider/auth-oauth-clients.constants.js +11 -0
- package/server/src/lib/identity-provider/auth-oauth-clients.constants.js.map +1 -0
- package/server/src/lib/identity-provider/identity-provider-catalog.service.d.ts +20 -0
- package/server/src/lib/identity-provider/identity-provider-catalog.service.js +169 -0
- package/server/src/lib/identity-provider/identity-provider-catalog.service.js.map +1 -0
- package/server/src/lib/identity-provider/identity-provider-ids.constants.d.ts +8 -0
- package/server/src/lib/identity-provider/identity-provider-ids.constants.js +19 -0
- package/server/src/lib/identity-provider/identity-provider-ids.constants.js.map +1 -0
- package/server/src/lib/identity-provider/identity-provider-stub.bootstrap.d.ts +12 -0
- package/server/src/lib/identity-provider/identity-provider-stub.bootstrap.js +48 -0
- package/server/src/lib/identity-provider/identity-provider-stub.bootstrap.js.map +1 -0
- package/server/src/lib/identity-provider/identity-provider.constants.d.ts +1 -0
- package/server/src/lib/identity-provider/identity-provider.constants.js +7 -0
- package/server/src/lib/identity-provider/identity-provider.constants.js.map +1 -0
- package/server/src/lib/middlewares/device-sessions-active.middleware.d.ts +15 -0
- package/server/src/lib/middlewares/device-sessions-active.middleware.js +76 -0
- package/server/src/lib/middlewares/device-sessions-active.middleware.js.map +1 -0
- package/server/src/lib/middlewares/device-sessions-app-scope.middleware.d.ts +29 -0
- package/server/src/lib/middlewares/device-sessions-app-scope.middleware.js +137 -0
- package/server/src/lib/middlewares/device-sessions-app-scope.middleware.js.map +1 -0
- package/server/src/lib/middlewares/device-sessions-app-scope.util.d.ts +41 -0
- package/server/src/lib/middlewares/device-sessions-app-scope.util.js +69 -0
- package/server/src/lib/middlewares/device-sessions-app-scope.util.js.map +1 -0
- package/server/src/lib/middlewares/device-sessions-token-revoke.middleware.d.ts +18 -0
- package/server/src/lib/middlewares/device-sessions-token-revoke.middleware.js +90 -0
- package/server/src/lib/middlewares/device-sessions-token-revoke.middleware.js.map +1 -0
- package/server/src/lib/middlewares/user-assigned-roles.middleware.d.ts +36 -0
- package/server/src/lib/middlewares/user-assigned-roles.middleware.js +359 -0
- package/server/src/lib/middlewares/user-assigned-roles.middleware.js.map +1 -0
- package/{src → server/src}/lib/middlewares/user-effective-state.middleware.js +1 -1
- package/server/src/lib/middlewares/user-effective-state.middleware.js.map +1 -0
- package/server/src/lib/middlewares/user-invitation-list.middleware.d.ts +32 -0
- package/server/src/lib/middlewares/user-invitation-list.middleware.js +250 -0
- package/server/src/lib/middlewares/user-invitation-list.middleware.js.map +1 -0
- package/server/src/lib/middlewares/user-profile-write.middleware.d.ts +18 -0
- package/server/src/lib/middlewares/user-profile-write.middleware.js +206 -0
- package/server/src/lib/middlewares/user-profile-write.middleware.js.map +1 -0
- package/server/src/lib/password-reset/change-own-password.command.d.ts +8 -0
- package/server/src/lib/password-reset/change-own-password.command.js +38 -0
- package/server/src/lib/password-reset/change-own-password.command.js.map +1 -0
- package/{src → server/src}/lib/password-reset/complete-password-reset.command.d.ts +3 -4
- package/{src → server/src}/lib/password-reset/complete-password-reset.command.js +8 -12
- package/server/src/lib/password-reset/complete-password-reset.command.js.map +1 -0
- package/server/src/lib/password-reset/get-own-password-status.command.d.ts +8 -0
- package/server/src/lib/password-reset/get-own-password-status.command.js +31 -0
- package/server/src/lib/password-reset/get-own-password-status.command.js.map +1 -0
- package/{src → server/src}/lib/password-reset/send-password-reset-email.command.d.ts +12 -13
- package/{src → server/src}/lib/password-reset/send-password-reset-email.command.js +10 -15
- package/server/src/lib/password-reset/send-password-reset-email.command.js.map +1 -0
- package/server/src/lib/password-reset/user-change-password.service.d.ts +24 -0
- package/server/src/lib/password-reset/user-change-password.service.js +92 -0
- package/server/src/lib/password-reset/user-change-password.service.js.map +1 -0
- package/{src → server/src}/lib/password-reset/user-password-reset.service.d.ts +2 -7
- package/{src → server/src}/lib/password-reset/user-password-reset.service.js +29 -90
- package/server/src/lib/password-reset/user-password-reset.service.js.map +1 -0
- package/server/src/lib/queries/get-permission-holders-history.query.d.ts +4 -0
- package/server/src/lib/queries/get-permission-holders-history.query.definition.d.ts +5 -0
- package/server/src/lib/queries/get-permission-holders-history.query.definition.js +38 -0
- package/server/src/lib/queries/get-permission-holders-history.query.definition.js.map +1 -0
- package/server/src/lib/queries/get-permission-holders-history.query.js +25 -0
- package/server/src/lib/queries/get-permission-holders-history.query.js.map +1 -0
- package/server/src/lib/queries/get-role-holders-history.query.d.ts +4 -0
- package/server/src/lib/queries/get-role-holders-history.query.definition.d.ts +5 -0
- package/server/src/lib/queries/get-role-holders-history.query.definition.js +38 -0
- package/server/src/lib/queries/get-role-holders-history.query.definition.js.map +1 -0
- package/server/src/lib/queries/get-role-holders-history.query.js +25 -0
- package/server/src/lib/queries/get-role-holders-history.query.js.map +1 -0
- package/server/src/lib/queries/get-user-effective-permissions-history.query.d.ts +4 -0
- package/server/src/lib/queries/get-user-effective-permissions-history.query.definition.d.ts +5 -0
- package/server/src/lib/queries/get-user-effective-permissions-history.query.definition.js +35 -0
- package/server/src/lib/queries/get-user-effective-permissions-history.query.definition.js.map +1 -0
- package/server/src/lib/queries/get-user-effective-permissions-history.query.js +26 -0
- package/server/src/lib/queries/get-user-effective-permissions-history.query.js.map +1 -0
- package/server/src/lib/queries/get-user-effective-roles-history.query.d.ts +4 -0
- package/server/src/lib/queries/get-user-effective-roles-history.query.definition.d.ts +5 -0
- package/server/src/lib/queries/get-user-effective-roles-history.query.definition.js +36 -0
- package/server/src/lib/queries/get-user-effective-roles-history.query.definition.js.map +1 -0
- package/server/src/lib/queries/get-user-effective-roles-history.query.js +25 -0
- package/server/src/lib/queries/get-user-effective-roles-history.query.js.map +1 -0
- package/server/src/lib/queries/get-user-password-change-history.query.d.ts +4 -0
- package/server/src/lib/queries/get-user-password-change-history.query.definition.d.ts +5 -0
- package/server/src/lib/queries/get-user-password-change-history.query.definition.js +33 -0
- package/server/src/lib/queries/get-user-password-change-history.query.definition.js.map +1 -0
- package/server/src/lib/queries/get-user-password-change-history.query.js +23 -0
- package/server/src/lib/queries/get-user-password-change-history.query.js.map +1 -0
- package/server/src/lib/queries/security-query.helpers.d.ts +47 -0
- package/server/src/lib/queries/security-query.helpers.js +184 -0
- package/server/src/lib/queries/security-query.helpers.js.map +1 -0
- package/server/src/lib/reports/password-change-history.service.d.ts +14 -0
- package/server/src/lib/reports/password-change-history.service.js +74 -0
- package/server/src/lib/reports/password-change-history.service.js.map +1 -0
- package/server/src/lib/reports/permission-display-catalog.d.ts +7 -0
- package/server/src/lib/reports/permission-display-catalog.js +101 -0
- package/server/src/lib/reports/permission-display-catalog.js.map +1 -0
- package/server/src/lib/reports/security-report-definition.provider.d.ts +5 -0
- package/server/src/lib/reports/security-report-definition.provider.js +23 -0
- package/server/src/lib/reports/security-report-definition.provider.js.map +1 -0
- package/server/src/lib/reports/security-report-parameter-groups.d.ts +343 -0
- package/server/src/lib/reports/security-report-parameter-groups.js +167 -0
- package/server/src/lib/reports/security-report-parameter-groups.js.map +1 -0
- package/server/src/lib/reports/security-report-scope.constants.d.ts +5 -0
- package/server/src/lib/reports/security-report-scope.constants.js +11 -0
- package/server/src/lib/reports/security-report-scope.constants.js.map +1 -0
- package/server/src/lib/reports/security-report.definitions.d.ts +12 -0
- package/server/src/lib/reports/security-report.definitions.js +386 -0
- package/server/src/lib/reports/security-report.definitions.js.map +1 -0
- package/server/src/lib/security-management-entity-storage.bootstrap.d.ts +26 -0
- package/server/src/lib/security-management-entity-storage.bootstrap.js +56 -0
- package/server/src/lib/security-management-entity-storage.bootstrap.js.map +1 -0
- package/server/src/lib/security-management-server.module.d.ts +7 -0
- package/server/src/lib/security-management-server.module.js +190 -0
- package/server/src/lib/security-management-server.module.js.map +1 -0
- package/server/src/lib/two-factor/admin-reset-two-factor.command.d.ts +8 -0
- package/server/src/lib/two-factor/admin-reset-two-factor.command.js +35 -0
- package/server/src/lib/two-factor/admin-reset-two-factor.command.js.map +1 -0
- package/server/src/lib/two-factor/confirm-two-factor-enrollment.command.d.ts +8 -0
- package/server/src/lib/two-factor/confirm-two-factor-enrollment.command.js +34 -0
- package/server/src/lib/two-factor/confirm-two-factor-enrollment.command.js.map +1 -0
- package/server/src/lib/two-factor/disable-two-factor.command.d.ts +8 -0
- package/server/src/lib/two-factor/disable-two-factor.command.js +31 -0
- package/server/src/lib/two-factor/disable-two-factor.command.js.map +1 -0
- package/server/src/lib/two-factor/generate-two-factor-recovery-codes.command.d.ts +8 -0
- package/server/src/lib/two-factor/generate-two-factor-recovery-codes.command.js +34 -0
- package/server/src/lib/two-factor/generate-two-factor-recovery-codes.command.js.map +1 -0
- package/server/src/lib/two-factor/get-two-factor-status.command.d.ts +8 -0
- package/server/src/lib/two-factor/get-two-factor-status.command.js +31 -0
- package/server/src/lib/two-factor/get-two-factor-status.command.js.map +1 -0
- package/server/src/lib/two-factor/recovery-codes.util.d.ts +11 -0
- package/server/src/lib/two-factor/recovery-codes.util.js +73 -0
- package/server/src/lib/two-factor/recovery-codes.util.js.map +1 -0
- package/server/src/lib/two-factor/start-two-factor-enrollment.command.d.ts +8 -0
- package/server/src/lib/two-factor/start-two-factor-enrollment.command.js +31 -0
- package/server/src/lib/two-factor/start-two-factor-enrollment.command.js.map +1 -0
- package/server/src/lib/two-factor/totp.util.d.ts +32 -0
- package/server/src/lib/two-factor/totp.util.js +128 -0
- package/server/src/lib/two-factor/totp.util.js.map +1 -0
- package/server/src/lib/two-factor/two-factor-encryption.util.d.ts +25 -0
- package/server/src/lib/two-factor/two-factor-encryption.util.js +123 -0
- package/server/src/lib/two-factor/two-factor-encryption.util.js.map +1 -0
- package/server/src/lib/two-factor/two-factor-gate.bootstrap.d.ts +9 -0
- package/server/src/lib/two-factor/two-factor-gate.bootstrap.js +65 -0
- package/server/src/lib/two-factor/two-factor-gate.bootstrap.js.map +1 -0
- package/server/src/lib/two-factor/two-factor-redis.store.d.ts +63 -0
- package/server/src/lib/two-factor/two-factor-redis.store.js +321 -0
- package/server/src/lib/two-factor/two-factor-redis.store.js.map +1 -0
- package/server/src/lib/two-factor/user-two-factor.service.d.ts +62 -0
- package/server/src/lib/two-factor/user-two-factor.service.js +573 -0
- package/server/src/lib/two-factor/user-two-factor.service.js.map +1 -0
- package/server/src/lib/two-factor/verify-two-factor-login.command.d.ts +18 -0
- package/server/src/lib/two-factor/verify-two-factor-login.command.js +54 -0
- package/server/src/lib/two-factor/verify-two-factor-login.command.js.map +1 -0
- package/server/src/lib/user-invitation/accept-invitation.command.d.ts +8 -0
- package/server/src/lib/user-invitation/accept-invitation.command.js +41 -0
- package/server/src/lib/user-invitation/accept-invitation.command.js.map +1 -0
- package/server/src/lib/user-invitation/accept-my-invitation.command.d.ts +8 -0
- package/server/src/lib/user-invitation/accept-my-invitation.command.js +40 -0
- package/server/src/lib/user-invitation/accept-my-invitation.command.js.map +1 -0
- package/server/src/lib/user-invitation/approve-join-request.command.d.ts +8 -0
- package/server/src/lib/user-invitation/approve-join-request.command.js +41 -0
- package/server/src/lib/user-invitation/approve-join-request.command.js.map +1 -0
- package/server/src/lib/user-invitation/cancel-invitation.command.d.ts +8 -0
- package/server/src/lib/user-invitation/cancel-invitation.command.js +37 -0
- package/server/src/lib/user-invitation/cancel-invitation.command.js.map +1 -0
- package/server/src/lib/user-invitation/cancel-my-join-request.command.d.ts +8 -0
- package/server/src/lib/user-invitation/cancel-my-join-request.command.js +40 -0
- package/server/src/lib/user-invitation/cancel-my-join-request.command.js.map +1 -0
- package/server/src/lib/user-invitation/create-user-in-tenant.command.d.ts +8 -0
- package/server/src/lib/user-invitation/create-user-in-tenant.command.js +37 -0
- package/server/src/lib/user-invitation/create-user-in-tenant.command.js.map +1 -0
- package/server/src/lib/user-invitation/decline-invitation.command.d.ts +8 -0
- package/server/src/lib/user-invitation/decline-invitation.command.js +37 -0
- package/server/src/lib/user-invitation/decline-invitation.command.js.map +1 -0
- package/server/src/lib/user-invitation/invite-user.command.d.ts +8 -0
- package/server/src/lib/user-invitation/invite-user.command.js +37 -0
- package/server/src/lib/user-invitation/invite-user.command.js.map +1 -0
- package/server/src/lib/user-invitation/list-invite-assignable-roles.command.d.ts +8 -0
- package/server/src/lib/user-invitation/list-invite-assignable-roles.command.js +41 -0
- package/server/src/lib/user-invitation/list-invite-assignable-roles.command.js.map +1 -0
- package/server/src/lib/user-invitation/list-my-join-requests.command.d.ts +8 -0
- package/server/src/lib/user-invitation/list-my-join-requests.command.js +40 -0
- package/server/src/lib/user-invitation/list-my-join-requests.command.js.map +1 -0
- package/server/src/lib/user-invitation/list-my-pending-invitations.command.d.ts +8 -0
- package/server/src/lib/user-invitation/list-my-pending-invitations.command.js +37 -0
- package/server/src/lib/user-invitation/list-my-pending-invitations.command.js.map +1 -0
- package/server/src/lib/user-invitation/list-tenant-entitled-applications.command.d.ts +8 -0
- package/server/src/lib/user-invitation/list-tenant-entitled-applications.command.js +41 -0
- package/server/src/lib/user-invitation/list-tenant-entitled-applications.command.js.map +1 -0
- package/server/src/lib/user-invitation/lookup-tenant-by-unique-name.command.d.ts +8 -0
- package/server/src/lib/user-invitation/lookup-tenant-by-unique-name.command.js +40 -0
- package/server/src/lib/user-invitation/lookup-tenant-by-unique-name.command.js.map +1 -0
- package/server/src/lib/user-invitation/reject-join-request.command.d.ts +8 -0
- package/server/src/lib/user-invitation/reject-join-request.command.js +41 -0
- package/server/src/lib/user-invitation/reject-join-request.command.js.map +1 -0
- package/server/src/lib/user-invitation/request-tenant-membership.command.d.ts +8 -0
- package/server/src/lib/user-invitation/request-tenant-membership.command.js +40 -0
- package/server/src/lib/user-invitation/request-tenant-membership.command.js.map +1 -0
- package/server/src/lib/user-invitation/resend-invitation.command.d.ts +12 -0
- package/server/src/lib/user-invitation/resend-invitation.command.js +37 -0
- package/server/src/lib/user-invitation/resend-invitation.command.js.map +1 -0
- package/server/src/lib/user-invitation/user-invitation-application-access.util.d.ts +25 -0
- package/server/src/lib/user-invitation/user-invitation-application-access.util.js +121 -0
- package/server/src/lib/user-invitation/user-invitation-application-access.util.js.map +1 -0
- package/server/src/lib/user-invitation/user-invitation.service.d.ts +162 -0
- package/server/src/lib/user-invitation/user-invitation.service.js +1658 -0
- package/server/src/lib/user-invitation/user-invitation.service.js.map +1 -0
- package/contracts/src/datasource.keys.d.ts +0 -4
- package/contracts/src/datasource.keys.js +0 -10
- package/contracts/src/datasource.keys.js.map +0 -1
- package/src/index.d.ts +0 -5
- package/src/index.js +0 -13
- package/src/index.js.map +0 -1
- package/src/lib/middlewares/user-effective-state.middleware.js.map +0 -1
- package/src/lib/password-reset/complete-password-reset.command.js.map +0 -1
- package/src/lib/password-reset/send-password-reset-email.command.js.map +0 -1
- package/src/lib/password-reset/user-password-reset.service.js.map +0 -1
- package/src/lib/security-management-server.module.d.ts +0 -2
- package/src/lib/security-management-server.module.js +0 -48
- package/src/lib/security-management-server.module.js.map +0 -1
- package/src/lib/seed/index.d.ts +0 -22
- package/src/lib/seed/index.js +0 -24
- package/src/lib/seed/index.js.map +0 -1
- package/src/lib/seed/policy/index.d.ts +0 -2
- package/src/lib/seed/policy/index.js +0 -6
- package/src/lib/seed/policy/index.js.map +0 -1
- package/src/lib/seed/policy/policy.mock.d.ts +0 -7
- package/src/lib/seed/policy/policy.mock.js +0 -40
- package/src/lib/seed/policy/policy.mock.js.map +0 -1
- package/src/lib/seed/policy/policy.seed.d.ts +0 -5
- package/src/lib/seed/policy/policy.seed.js +0 -31
- package/src/lib/seed/policy/policy.seed.js.map +0 -1
- package/src/lib/seed/role/index.d.ts +0 -4
- package/src/lib/seed/role/index.js +0 -8
- package/src/lib/seed/role/index.js.map +0 -1
- package/src/lib/seed/role/role-ids.constants.d.ts +0 -14
- package/src/lib/seed/role/role-ids.constants.js +0 -20
- package/src/lib/seed/role/role-ids.constants.js.map +0 -1
- package/src/lib/seed/role/role-permission-keys.constants.d.ts +0 -578
- package/src/lib/seed/role/role-permission-keys.constants.js +0 -620
- package/src/lib/seed/role/role-permission-keys.constants.js.map +0 -1
- package/src/lib/seed/role/role.mock.d.ts +0 -4
- package/src/lib/seed/role/role.mock.js +0 -321
- package/src/lib/seed/role/role.mock.js.map +0 -1
- package/src/lib/seed/role/role.seed.d.ts +0 -5
- package/src/lib/seed/role/role.seed.js +0 -31
- package/src/lib/seed/role/role.seed.js.map +0 -1
- package/src/lib/seed/security-management-seed.provider.d.ts +0 -4
- package/src/lib/seed/security-management-seed.provider.js +0 -18
- package/src/lib/seed/security-management-seed.provider.js.map +0 -1
- package/src/lib/seed/security-management-seed.tokens.d.ts +0 -1
- package/src/lib/seed/security-management-seed.tokens.js +0 -7
- package/src/lib/seed/security-management-seed.tokens.js.map +0 -1
- package/src/lib/seed/security-management.seed-catalog.d.ts +0 -2
- package/src/lib/seed/security-management.seed-catalog.js +0 -17
- package/src/lib/seed/security-management.seed-catalog.js.map +0 -1
- package/src/lib/seed/tenant/index.d.ts +0 -1
- package/src/lib/seed/tenant/tenant-ids.constants.d.ts +0 -11
- package/src/lib/seed/tenant/tenant-ids.constants.js +0 -17
- package/src/lib/seed/tenant/tenant-ids.constants.js.map +0 -1
- package/src/lib/seed/user/index.d.ts +0 -4
- package/src/lib/seed/user/index.js +0 -13
- package/src/lib/seed/user/index.js.map +0 -1
- package/src/lib/seed/user/resolve-user-effective-state.util.d.ts +0 -4
- package/src/lib/seed/user/resolve-user-effective-state.util.js +0 -10
- package/src/lib/seed/user/resolve-user-effective-state.util.js.map +0 -1
- package/src/lib/seed/user/user.mock.d.ts +0 -21
- package/src/lib/seed/user/user.mock.js +0 -338
- package/src/lib/seed/user/user.mock.js.map +0 -1
- package/src/lib/seed/user/user.seed.d.ts +0 -5
- package/src/lib/seed/user/user.seed.js +0 -31
- package/src/lib/seed/user/user.seed.js.map +0 -1
- /package/{src → server/src}/lib/middlewares/user-effective-state.middleware.d.ts +0 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ----- Imports -----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.USER_PASSWORD_CHANGE_PARAMETER_GROUP = exports.PERMISSION_HOLDERS_PARAMETER_GROUP = exports.ROLE_HOLDERS_PARAMETER_GROUP = exports.USER_EFFECTIVE_PERMISSIONS_PARAMETER_GROUP = exports.USER_EFFECTIVE_ACCESS_PARAMETER_GROUP = void 0;
|
|
5
|
+
const security_report_scope_constants_1 = require("./security-report-scope.constants");
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ----- Security report parameter groups -----
|
|
8
|
+
/**
|
|
9
|
+
* Shared date-range + tenant/app scope for historical effective-access reports.
|
|
10
|
+
*
|
|
11
|
+
* Tenant / Application are session-scoped at execute time. Tenant remains
|
|
12
|
+
* selectable only with MaintainTenants; Application stays hidden until a
|
|
13
|
+
* future tenant-admin capability is introduced.
|
|
14
|
+
*/
|
|
15
|
+
const SCOPE_AND_RANGE_PARAMETERS = [
|
|
16
|
+
{
|
|
17
|
+
path: 'dateRange',
|
|
18
|
+
title: 'Date Range',
|
|
19
|
+
description: 'Report range using overlap semantics (grant intervals that intersect this range)',
|
|
20
|
+
widget: {
|
|
21
|
+
type: 'date-time-editor',
|
|
22
|
+
options: { format: 'yyyy-MM-dd', showTime: false, defaultValue: 'today' },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
path: 'tenantId',
|
|
27
|
+
title: 'Tenant',
|
|
28
|
+
description: 'Tenant workspace used for grant scope scoring (session tenant unless MaintainTenants)',
|
|
29
|
+
visible: `{{ permission.check("${security_report_scope_constants_1.SECURITY_REPORT_SELECT_TENANT_PERMISSION}") }}`,
|
|
30
|
+
widget: {
|
|
31
|
+
type: 'lookup-editor',
|
|
32
|
+
options: {
|
|
33
|
+
entity: 'TenantManagement.Tenant',
|
|
34
|
+
multiple: false,
|
|
35
|
+
textField: 'title',
|
|
36
|
+
valueField: 'id',
|
|
37
|
+
look: 'select',
|
|
38
|
+
columns: ['title', 'name'],
|
|
39
|
+
hasClearButton: true,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
path: 'applicationId',
|
|
45
|
+
title: 'Application',
|
|
46
|
+
description: 'Always the current session application (not user-selectable yet)',
|
|
47
|
+
visible: false,
|
|
48
|
+
widget: {
|
|
49
|
+
type: 'lookup-editor',
|
|
50
|
+
options: {
|
|
51
|
+
entity: 'ApplicationManagement.Application',
|
|
52
|
+
multiple: false,
|
|
53
|
+
textField: 'title',
|
|
54
|
+
valueField: 'id',
|
|
55
|
+
look: 'select',
|
|
56
|
+
columns: ['title', 'code'],
|
|
57
|
+
hasClearButton: true,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
const USER_LOOKUP_PARAMETER = {
|
|
63
|
+
path: 'userId',
|
|
64
|
+
title: 'User',
|
|
65
|
+
description: 'User whose historical grants are reconstructed',
|
|
66
|
+
widget: {
|
|
67
|
+
type: 'lookup-editor',
|
|
68
|
+
options: {
|
|
69
|
+
entity: 'SecurityManagement.User',
|
|
70
|
+
multiple: false,
|
|
71
|
+
textField: 'username',
|
|
72
|
+
valueField: 'id',
|
|
73
|
+
look: 'select',
|
|
74
|
+
columns: ['username', 'email'],
|
|
75
|
+
hasClearButton: true,
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
exports.USER_EFFECTIVE_ACCESS_PARAMETER_GROUP = {
|
|
80
|
+
name: 'userEffectiveAccessFilters',
|
|
81
|
+
title: 'Effective Access Filters',
|
|
82
|
+
description: 'User and date range for reconstructed effective access',
|
|
83
|
+
parameters: [USER_LOOKUP_PARAMETER, ...SCOPE_AND_RANGE_PARAMETERS],
|
|
84
|
+
};
|
|
85
|
+
/** User effective permissions history: shared scope filters + permission contains search. */
|
|
86
|
+
exports.USER_EFFECTIVE_PERMISSIONS_PARAMETER_GROUP = {
|
|
87
|
+
name: 'userEffectivePermissionsFilters',
|
|
88
|
+
title: 'Effective Permission Filters',
|
|
89
|
+
description: 'User, date range, and permission text search for reconstructed effective permissions',
|
|
90
|
+
parameters: [
|
|
91
|
+
USER_LOOKUP_PARAMETER,
|
|
92
|
+
{
|
|
93
|
+
path: 'permissionSearch',
|
|
94
|
+
title: '@security-management:reports.parameters.permission-search.title',
|
|
95
|
+
description: '@security-management:reports.parameters.permission-search.description',
|
|
96
|
+
widget: {
|
|
97
|
+
type: 'string-filter',
|
|
98
|
+
options: {
|
|
99
|
+
operations: [
|
|
100
|
+
{
|
|
101
|
+
name: 'contains',
|
|
102
|
+
title: '@general:terms.operators.contains',
|
|
103
|
+
hasValue: true,
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
placeholder: '@security-management:reports.parameters.permission-search.placeholder',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
...SCOPE_AND_RANGE_PARAMETERS,
|
|
111
|
+
],
|
|
112
|
+
};
|
|
113
|
+
exports.ROLE_HOLDERS_PARAMETER_GROUP = {
|
|
114
|
+
name: 'roleHoldersFilters',
|
|
115
|
+
title: 'Role Holders Filters',
|
|
116
|
+
description: 'Role and date range for reconstructed role holders',
|
|
117
|
+
parameters: [
|
|
118
|
+
{
|
|
119
|
+
path: 'roleId',
|
|
120
|
+
title: 'Role',
|
|
121
|
+
description: 'Role whose historical holders are reconstructed',
|
|
122
|
+
widget: {
|
|
123
|
+
type: 'lookup-editor',
|
|
124
|
+
options: {
|
|
125
|
+
entity: 'SecurityManagement.Role',
|
|
126
|
+
multiple: false,
|
|
127
|
+
textField: 'name',
|
|
128
|
+
valueField: 'id',
|
|
129
|
+
look: 'select',
|
|
130
|
+
columns: ['name', 'title'],
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
...SCOPE_AND_RANGE_PARAMETERS,
|
|
135
|
+
],
|
|
136
|
+
};
|
|
137
|
+
exports.PERMISSION_HOLDERS_PARAMETER_GROUP = {
|
|
138
|
+
name: 'permissionHoldersFilters',
|
|
139
|
+
title: 'Permission Holders Filters',
|
|
140
|
+
description: 'Permission key and date range for reconstructed holders',
|
|
141
|
+
parameters: [
|
|
142
|
+
{
|
|
143
|
+
path: 'permission',
|
|
144
|
+
title: '@security-management:reports.parameters.permission-key.title',
|
|
145
|
+
description: '@security-management:reports.parameters.permission-key.description',
|
|
146
|
+
widget: {
|
|
147
|
+
type: 'text-editor',
|
|
148
|
+
options: {
|
|
149
|
+
placeholder: '@security-management:reports.parameters.permission-key.placeholder',
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
...SCOPE_AND_RANGE_PARAMETERS,
|
|
154
|
+
],
|
|
155
|
+
};
|
|
156
|
+
/** User + date range for password-change history (and similar user-scoped security reports). */
|
|
157
|
+
exports.USER_PASSWORD_CHANGE_PARAMETER_GROUP = {
|
|
158
|
+
name: 'userPasswordChangeFilters',
|
|
159
|
+
title: '@security-management:reports.parameters.password-change-filters.title',
|
|
160
|
+
description: '@security-management:reports.parameters.password-change-filters.description',
|
|
161
|
+
parameters: [
|
|
162
|
+
Object.assign(Object.assign({}, USER_LOOKUP_PARAMETER), { widget: Object.assign(Object.assign({}, USER_LOOKUP_PARAMETER.widget), { options: Object.assign(Object.assign({}, USER_LOOKUP_PARAMETER.widget.options), { validations: [{ rule: 'required' }] }) }) }),
|
|
163
|
+
...SCOPE_AND_RANGE_PARAMETERS,
|
|
164
|
+
],
|
|
165
|
+
};
|
|
166
|
+
//#endregion
|
|
167
|
+
//# sourceMappingURL=security-report-parameter-groups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security-report-parameter-groups.js","sourceRoot":"","sources":["../../../../../../../libs/modules/security-management/server/src/lib/reports/security-report-parameter-groups.ts"],"names":[],"mappings":";AAAA,6BAA6B;;;AAE7B,uFAA6F;AAE7F,YAAY;AAEZ,sDAAsD;AAEtD;;;;;;GAMG;AACH,MAAM,0BAA0B,GAAG;IACjC;QACE,IAAI,EAAE,WAAW;QACjB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,kFAAkF;QAC/F,MAAM,EAAE;YACN,IAAI,EAAE,kBAAkB;YACxB,OAAO,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE;SAC1E;KACF;IACD;QACE,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,uFAAuF;QACpG,OAAO,EAAE,wBAAwB,0EAAwC,OAAO;QAChF,MAAM,EAAE;YACN,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE;gBACP,MAAM,EAAE,yBAAyB;gBACjC,QAAQ,EAAE,KAAK;gBACf,SAAS,EAAE,OAAO;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;gBAC1B,cAAc,EAAE,IAAI;aACrB;SACF;KACF;IACD;QACE,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,kEAAkE;QAC/E,OAAO,EAAE,KAAK;QACd,MAAM,EAAE;YACN,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE;gBACP,MAAM,EAAE,mCAAmC;gBAC3C,QAAQ,EAAE,KAAK;gBACf,SAAS,EAAE,OAAO;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;gBAC1B,cAAc,EAAE,IAAI;aACrB;SACF;KACF;CACF,CAAC;AAEF,MAAM,qBAAqB,GAAG;IAC5B,I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AAE;gBACN,IAAI,EAAE,eAAe;gBACrB,OAAO,EAAE;oBACP,MAAM,EAAE,yBAAyB;oBACjC,QAAQ,EAAE,KAAK;oBACf,SAAS,EAAE,MAAM;oBACjB,UAAU,EAAE,IAAI;oBAChB,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;iBAC3B;aACF;SACF;QACD,GAAG,0BAA0B;KAC9B;CACF,CAAC;AAEW,QAAA,kCAAkC,GAAG;IAChD,IAAI,EAAE,0BAA0B;IAChC,KAAK,EAAE,4BAA4B;IACnC,WAAW,EAAE,yDAAyD;IACtE,UAAU,EAAE;QACV;YACE,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,8DAA8D;YACrE,WAAW,EAAE,oEAAoE;YACjF,MAAM,EAAE;gBACN,IAAI,EAAE,aAAa;gBACnB,OAAO,EAAE;oBACP,WAAW,EAAE,oEAAoE;iBAClF;aACF;SACF;QACD,GAAG,0BAA0B;KAC9B;CACF,CAAC;AAEF,gGAAgG;AACnF,QAAA,oCAAoC,GAAG;IAClD,IAAI,EAAE,2BAA2B;IACjC,KAAK,EAAE,uEAAuE;IAC9E,WAAW,EAAE,6EAA6E;IAC1F,UAAU,EAAE;wCAEL,qBAAqB,KACxB,MAAM,kCACD,qBAAqB,CAAC,MAAM,KAC/B,OAAO,kCACF,qBAAqB,CAAC,MAAM,CAAC,OAAO,KACvC,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;QAIzC,GAAG,0BAA0B;KAC9B;CACF,CAAC;AAEF,YAAY"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region ----- Security report scope permissions -----
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SECURITY_REPORT_SELECT_TENANT_PERMISSION = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Capability required to choose Tenant on security history reports
|
|
7
|
+
* (parameter `visible` + execute-time scope).
|
|
8
|
+
*/
|
|
9
|
+
exports.SECURITY_REPORT_SELECT_TENANT_PERMISSION = 'ApplicationsPlatform:Permission:MaintainTenants';
|
|
10
|
+
//#endregion
|
|
11
|
+
//# sourceMappingURL=security-report-scope.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security-report-scope.constants.js","sourceRoot":"","sources":["../../../../../../../libs/modules/security-management/server/src/lib/reports/security-report-scope.constants.ts"],"names":[],"mappings":";AAAA,uDAAuD;;;AAEvD;;;GAGG;AACU,QAAA,wCAAwC,GACnD,iDAAiD,CAAC;AAEpD,YAAY"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BackendReportCategory, BackendReportDefinition } from '@acorex-platform/framework-server/report';
|
|
2
|
+
export declare const ADMINISTRATION_REPORTS_CATEGORY_ID = "a1000001-0000-4000-8000-000000000001";
|
|
3
|
+
export declare const SECURITY_ACCESS_CATEGORY_ID = "f1000001-0000-4000-8000-000000000001";
|
|
4
|
+
/** Must match {@link SESSIONS_PRESENCE_CATEGORY_ID} in platform-management presence reports. */
|
|
5
|
+
export declare const USER_ACTIVITY_CATEGORY_ID = "p1000001-0000-4000-8000-000000000001";
|
|
6
|
+
export declare const USER_EFFECTIVE_ROLES_HISTORY_REPORT_ID = "f1000001-0000-4000-8000-000000000010";
|
|
7
|
+
export declare const USER_EFFECTIVE_PERMISSIONS_HISTORY_REPORT_ID = "f1000001-0000-4000-8000-000000000011";
|
|
8
|
+
export declare const ROLE_HOLDERS_HISTORY_REPORT_ID = "f1000001-0000-4000-8000-000000000012";
|
|
9
|
+
export declare const PERMISSION_HOLDERS_HISTORY_REPORT_ID = "f1000001-0000-4000-8000-000000000013";
|
|
10
|
+
export declare const USER_PASSWORD_CHANGE_HISTORY_REPORT_ID = "f1000001-0000-4000-8000-000000000015";
|
|
11
|
+
export declare const SECURITY_REPORT_CATEGORIES: BackendReportCategory[];
|
|
12
|
+
export declare const SECURITY_REPORT_DEFINITIONS: BackendReportDefinition[];
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SECURITY_REPORT_DEFINITIONS = exports.SECURITY_REPORT_CATEGORIES = exports.USER_PASSWORD_CHANGE_HISTORY_REPORT_ID = exports.PERMISSION_HOLDERS_HISTORY_REPORT_ID = exports.ROLE_HOLDERS_HISTORY_REPORT_ID = exports.USER_EFFECTIVE_PERMISSIONS_HISTORY_REPORT_ID = exports.USER_EFFECTIVE_ROLES_HISTORY_REPORT_ID = exports.USER_ACTIVITY_CATEGORY_ID = exports.SECURITY_ACCESS_CATEGORY_ID = exports.ADMINISTRATION_REPORTS_CATEGORY_ID = void 0;
|
|
4
|
+
const module_security_management_contracts_1 = require("@acorex-platform/module-security-management-client/contracts");
|
|
5
|
+
const security_report_parameter_groups_1 = require("./security-report-parameter-groups");
|
|
6
|
+
//#region ----- Stable report definition IDs -----
|
|
7
|
+
exports.ADMINISTRATION_REPORTS_CATEGORY_ID = 'a1000001-0000-4000-8000-000000000001';
|
|
8
|
+
exports.SECURITY_ACCESS_CATEGORY_ID = 'f1000001-0000-4000-8000-000000000001';
|
|
9
|
+
/** Must match {@link SESSIONS_PRESENCE_CATEGORY_ID} in platform-management presence reports. */
|
|
10
|
+
exports.USER_ACTIVITY_CATEGORY_ID = 'p1000001-0000-4000-8000-000000000001';
|
|
11
|
+
exports.USER_EFFECTIVE_ROLES_HISTORY_REPORT_ID = 'f1000001-0000-4000-8000-000000000010';
|
|
12
|
+
exports.USER_EFFECTIVE_PERMISSIONS_HISTORY_REPORT_ID = 'f1000001-0000-4000-8000-000000000011';
|
|
13
|
+
exports.ROLE_HOLDERS_HISTORY_REPORT_ID = 'f1000001-0000-4000-8000-000000000012';
|
|
14
|
+
exports.PERMISSION_HOLDERS_HISTORY_REPORT_ID = 'f1000001-0000-4000-8000-000000000013';
|
|
15
|
+
exports.USER_PASSWORD_CHANGE_HISTORY_REPORT_ID = 'f1000001-0000-4000-8000-000000000015';
|
|
16
|
+
const USER_EFFECTIVE_ROLES_TABLE = 'f1000001-0000-4000-8000-000000000101';
|
|
17
|
+
const USER_EFFECTIVE_PERMISSIONS_TABLE = 'f1000001-0000-4000-8000-000000000102';
|
|
18
|
+
const ROLE_HOLDERS_TABLE = 'f1000001-0000-4000-8000-000000000103';
|
|
19
|
+
const PERMISSION_HOLDERS_TABLE = 'f1000001-0000-4000-8000-000000000104';
|
|
20
|
+
const USER_PASSWORD_CHANGE_TABLE = 'f1000001-0000-4000-8000-000000000106';
|
|
21
|
+
const BASE_EXPORT = {
|
|
22
|
+
fileNameTemplate: 'Report_{date}_{user}',
|
|
23
|
+
pdf: { enabled: true, pageSize: 'A4', headerEnabled: true, footerEnabled: true, showPageNumbers: true },
|
|
24
|
+
};
|
|
25
|
+
const MAINTAIN_USERS_AND_ROLES = [module_security_management_contracts_1.AXPAdministrationPermissionKeys.MaintainUsersAndRoles];
|
|
26
|
+
/** Column widget: regional short date (not datetime / raw ISO). */
|
|
27
|
+
const DATE_COLUMN_WIDGET = {
|
|
28
|
+
type: 'date-time-editor',
|
|
29
|
+
options: { format: 'date' },
|
|
30
|
+
};
|
|
31
|
+
const DATETIME_COLUMN_WIDGET = {
|
|
32
|
+
type: 'date-time-editor',
|
|
33
|
+
options: { format: 'datetime' },
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region ----- Categories -----
|
|
37
|
+
exports.SECURITY_REPORT_CATEGORIES = [
|
|
38
|
+
{
|
|
39
|
+
id: exports.ADMINISTRATION_REPORTS_CATEGORY_ID,
|
|
40
|
+
title: 'Administration',
|
|
41
|
+
description: 'User access, permissions, sessions, and account activity audit reports',
|
|
42
|
+
childrenCount: 2,
|
|
43
|
+
itemsCount: 0,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: exports.SECURITY_ACCESS_CATEGORY_ID,
|
|
47
|
+
title: 'Access History',
|
|
48
|
+
description: 'Historical roles and permissions reconstructed from Change History (grant assignments)',
|
|
49
|
+
parentId: exports.ADMINISTRATION_REPORTS_CATEGORY_ID,
|
|
50
|
+
childrenCount: 0,
|
|
51
|
+
itemsCount: 4,
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region ----- Definitions -----
|
|
56
|
+
exports.SECURITY_REPORT_DEFINITIONS = [
|
|
57
|
+
{
|
|
58
|
+
id: exports.USER_EFFECTIVE_ROLES_HISTORY_REPORT_ID,
|
|
59
|
+
title: 'User Role History',
|
|
60
|
+
description: 'Roles a user held that overlap the selected date range, reconstructed from UserRole Change History',
|
|
61
|
+
categoryIds: [exports.SECURITY_ACCESS_CATEGORY_ID],
|
|
62
|
+
permissions: MAINTAIN_USERS_AND_ROLES,
|
|
63
|
+
parameterGroups: [security_report_parameter_groups_1.USER_EFFECTIVE_ACCESS_PARAMETER_GROUP],
|
|
64
|
+
entities: [
|
|
65
|
+
{
|
|
66
|
+
entity: 'SecurityManagement.User',
|
|
67
|
+
title: '@security-management:reports.user-effective-roles-history.title',
|
|
68
|
+
description: '@security-management:reports.user-effective-roles-history.description',
|
|
69
|
+
display: ['page'],
|
|
70
|
+
parameters: {
|
|
71
|
+
userId: 'id',
|
|
72
|
+
dateRange: 'today',
|
|
73
|
+
},
|
|
74
|
+
order: 20,
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
layouts: [
|
|
78
|
+
{
|
|
79
|
+
id: USER_EFFECTIVE_ROLES_TABLE,
|
|
80
|
+
title: 'Table View',
|
|
81
|
+
icon: 'fa-light fa-table',
|
|
82
|
+
isDefault: true,
|
|
83
|
+
layout: {
|
|
84
|
+
type: 'table',
|
|
85
|
+
columns: [
|
|
86
|
+
{
|
|
87
|
+
field: 'roleName',
|
|
88
|
+
title: '@security-management:reports.columns.role-name',
|
|
89
|
+
visible: true,
|
|
90
|
+
sortable: true,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
field: 'roleTitle',
|
|
94
|
+
title: '@security-management:reports.columns.role-title',
|
|
95
|
+
visible: true,
|
|
96
|
+
sortable: true,
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
field: 'validFrom',
|
|
100
|
+
title: '@security-management:reports.columns.valid-from',
|
|
101
|
+
visible: true,
|
|
102
|
+
sortable: true,
|
|
103
|
+
widget: DATE_COLUMN_WIDGET,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
field: 'validTo',
|
|
107
|
+
title: '@security-management:reports.columns.valid-to',
|
|
108
|
+
visible: true,
|
|
109
|
+
sortable: true,
|
|
110
|
+
widget: DATE_COLUMN_WIDGET,
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
options: { pagination: true, stickyHeader: true, stripedRows: true },
|
|
114
|
+
},
|
|
115
|
+
dataSource: {
|
|
116
|
+
type: 'query',
|
|
117
|
+
name: module_security_management_contracts_1.RootConfig.queries.reports.getUserEffectiveRolesHistory,
|
|
118
|
+
pagination: true,
|
|
119
|
+
},
|
|
120
|
+
export: Object.assign(Object.assign({}, BASE_EXPORT), { fileNameTemplate: 'User_Effective_Roles_History_{date}_{user}', excel: { enabled: true, sheetName: 'Effective Roles History' }, csv: { enabled: true } }),
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
defaultLayoutId: USER_EFFECTIVE_ROLES_TABLE,
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
id: exports.USER_EFFECTIVE_PERMISSIONS_HISTORY_REPORT_ID,
|
|
127
|
+
title: 'User Permission History',
|
|
128
|
+
description: 'Permissions a user held that overlap the selected date range, reconstructed from UserRole and RolePermission history',
|
|
129
|
+
categoryIds: [exports.SECURITY_ACCESS_CATEGORY_ID],
|
|
130
|
+
permissions: MAINTAIN_USERS_AND_ROLES,
|
|
131
|
+
parameterGroups: [security_report_parameter_groups_1.USER_EFFECTIVE_PERMISSIONS_PARAMETER_GROUP],
|
|
132
|
+
entities: [
|
|
133
|
+
{
|
|
134
|
+
entity: 'SecurityManagement.User',
|
|
135
|
+
title: '@security-management:reports.user-effective-permissions-history.title',
|
|
136
|
+
description: '@security-management:reports.user-effective-permissions-history.description',
|
|
137
|
+
display: ['page'],
|
|
138
|
+
parameters: {
|
|
139
|
+
userId: 'id',
|
|
140
|
+
dateRange: 'today',
|
|
141
|
+
},
|
|
142
|
+
order: 10,
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
layouts: [
|
|
146
|
+
{
|
|
147
|
+
id: USER_EFFECTIVE_PERMISSIONS_TABLE,
|
|
148
|
+
title: 'Table View',
|
|
149
|
+
icon: 'fa-light fa-table',
|
|
150
|
+
isDefault: true,
|
|
151
|
+
layout: {
|
|
152
|
+
type: 'table',
|
|
153
|
+
columns: [
|
|
154
|
+
{
|
|
155
|
+
field: 'permission',
|
|
156
|
+
title: '@security-management:reports.columns.permission',
|
|
157
|
+
visible: true,
|
|
158
|
+
sortable: true,
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
field: 'validFrom',
|
|
162
|
+
title: '@security-management:reports.columns.valid-from',
|
|
163
|
+
visible: true,
|
|
164
|
+
sortable: true,
|
|
165
|
+
widget: DATE_COLUMN_WIDGET,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
field: 'validTo',
|
|
169
|
+
title: '@security-management:reports.columns.valid-to',
|
|
170
|
+
visible: true,
|
|
171
|
+
sortable: true,
|
|
172
|
+
widget: DATE_COLUMN_WIDGET,
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
options: { pagination: true, stickyHeader: true, stripedRows: true },
|
|
176
|
+
},
|
|
177
|
+
dataSource: {
|
|
178
|
+
type: 'query',
|
|
179
|
+
name: module_security_management_contracts_1.RootConfig.queries.reports.getUserEffectivePermissionsHistory,
|
|
180
|
+
pagination: true,
|
|
181
|
+
},
|
|
182
|
+
export: Object.assign(Object.assign({}, BASE_EXPORT), { fileNameTemplate: 'User_Effective_Permissions_History_{date}_{user}', excel: { enabled: true, sheetName: 'Effective Permissions History' }, csv: { enabled: true } }),
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
defaultLayoutId: USER_EFFECTIVE_PERMISSIONS_TABLE,
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
id: exports.ROLE_HOLDERS_HISTORY_REPORT_ID,
|
|
189
|
+
title: 'Users by Role',
|
|
190
|
+
description: 'Users who held a role that overlaps the selected date range, reconstructed from UserRole Change History',
|
|
191
|
+
categoryIds: [exports.SECURITY_ACCESS_CATEGORY_ID],
|
|
192
|
+
permissions: MAINTAIN_USERS_AND_ROLES,
|
|
193
|
+
parameterGroups: [security_report_parameter_groups_1.ROLE_HOLDERS_PARAMETER_GROUP],
|
|
194
|
+
entities: [
|
|
195
|
+
{
|
|
196
|
+
entity: 'SecurityManagement.Role',
|
|
197
|
+
title: '@security-management:reports.role-holders-history.title',
|
|
198
|
+
description: '@security-management:reports.role-holders-history.description',
|
|
199
|
+
display: ['page'],
|
|
200
|
+
parameters: {
|
|
201
|
+
roleId: 'id',
|
|
202
|
+
dateRange: 'today',
|
|
203
|
+
},
|
|
204
|
+
order: 10,
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
layouts: [
|
|
208
|
+
{
|
|
209
|
+
id: ROLE_HOLDERS_TABLE,
|
|
210
|
+
title: 'Table View',
|
|
211
|
+
icon: 'fa-light fa-table',
|
|
212
|
+
isDefault: true,
|
|
213
|
+
layout: {
|
|
214
|
+
type: 'table',
|
|
215
|
+
columns: [
|
|
216
|
+
{
|
|
217
|
+
field: 'username',
|
|
218
|
+
title: '@security-management:reports.columns.username',
|
|
219
|
+
visible: true,
|
|
220
|
+
sortable: true,
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
field: 'displayName',
|
|
224
|
+
title: '@security-management:reports.columns.display-name',
|
|
225
|
+
visible: true,
|
|
226
|
+
sortable: true,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
field: 'roleTitle',
|
|
230
|
+
title: '@security-management:reports.columns.role-title',
|
|
231
|
+
visible: true,
|
|
232
|
+
sortable: true,
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
field: 'validFrom',
|
|
236
|
+
title: '@security-management:reports.columns.valid-from',
|
|
237
|
+
visible: true,
|
|
238
|
+
sortable: true,
|
|
239
|
+
widget: DATE_COLUMN_WIDGET,
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
field: 'validTo',
|
|
243
|
+
title: '@security-management:reports.columns.valid-to',
|
|
244
|
+
visible: true,
|
|
245
|
+
sortable: true,
|
|
246
|
+
widget: DATE_COLUMN_WIDGET,
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
options: { pagination: true, stickyHeader: true, stripedRows: true },
|
|
250
|
+
},
|
|
251
|
+
dataSource: {
|
|
252
|
+
type: 'query',
|
|
253
|
+
name: module_security_management_contracts_1.RootConfig.queries.reports.getRoleHoldersHistory,
|
|
254
|
+
pagination: true,
|
|
255
|
+
},
|
|
256
|
+
export: Object.assign(Object.assign({}, BASE_EXPORT), { fileNameTemplate: 'Role_Holders_History_{date}_{user}', excel: { enabled: true, sheetName: 'Role Holders History' }, csv: { enabled: true } }),
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
defaultLayoutId: ROLE_HOLDERS_TABLE,
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
id: exports.PERMISSION_HOLDERS_HISTORY_REPORT_ID,
|
|
263
|
+
title: 'Users by Permission',
|
|
264
|
+
description: 'Users who held a permission that overlaps the selected date range, reconstructed from grant Change History',
|
|
265
|
+
categoryIds: [exports.SECURITY_ACCESS_CATEGORY_ID],
|
|
266
|
+
permissions: MAINTAIN_USERS_AND_ROLES,
|
|
267
|
+
parameterGroups: [security_report_parameter_groups_1.PERMISSION_HOLDERS_PARAMETER_GROUP],
|
|
268
|
+
// No host-entity binding: permission keys are not a first-class entity.
|
|
269
|
+
layouts: [
|
|
270
|
+
{
|
|
271
|
+
id: PERMISSION_HOLDERS_TABLE,
|
|
272
|
+
title: 'Table View',
|
|
273
|
+
icon: 'fa-light fa-table',
|
|
274
|
+
isDefault: true,
|
|
275
|
+
layout: {
|
|
276
|
+
type: 'table',
|
|
277
|
+
columns: [
|
|
278
|
+
{
|
|
279
|
+
field: 'username',
|
|
280
|
+
title: '@security-management:reports.columns.username',
|
|
281
|
+
visible: true,
|
|
282
|
+
sortable: true,
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
field: 'displayName',
|
|
286
|
+
title: '@security-management:reports.columns.display-name',
|
|
287
|
+
visible: true,
|
|
288
|
+
sortable: true,
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
field: 'permission',
|
|
292
|
+
title: '@security-management:reports.columns.permission',
|
|
293
|
+
visible: true,
|
|
294
|
+
sortable: true,
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
field: 'validFrom',
|
|
298
|
+
title: '@security-management:reports.columns.valid-from',
|
|
299
|
+
visible: true,
|
|
300
|
+
sortable: true,
|
|
301
|
+
widget: DATE_COLUMN_WIDGET,
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
field: 'validTo',
|
|
305
|
+
title: '@security-management:reports.columns.valid-to',
|
|
306
|
+
visible: true,
|
|
307
|
+
sortable: true,
|
|
308
|
+
widget: DATE_COLUMN_WIDGET,
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
options: { pagination: true, stickyHeader: true, stripedRows: true },
|
|
312
|
+
},
|
|
313
|
+
dataSource: {
|
|
314
|
+
type: 'query',
|
|
315
|
+
name: module_security_management_contracts_1.RootConfig.queries.reports.getPermissionHoldersHistory,
|
|
316
|
+
pagination: true,
|
|
317
|
+
},
|
|
318
|
+
export: Object.assign(Object.assign({}, BASE_EXPORT), { fileNameTemplate: 'Permission_Holders_History_{date}_{user}', excel: { enabled: true, sheetName: 'Permission Holders History' }, csv: { enabled: true } }),
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
defaultLayoutId: PERMISSION_HOLDERS_TABLE,
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
id: exports.USER_PASSWORD_CHANGE_HISTORY_REPORT_ID,
|
|
325
|
+
title: 'Password Change History',
|
|
326
|
+
description: 'Password change timestamps for a user in the selected date range (last recorded change on the user profile)',
|
|
327
|
+
categoryIds: [exports.USER_ACTIVITY_CATEGORY_ID],
|
|
328
|
+
permissions: MAINTAIN_USERS_AND_ROLES,
|
|
329
|
+
parameterGroups: [security_report_parameter_groups_1.USER_PASSWORD_CHANGE_PARAMETER_GROUP],
|
|
330
|
+
entities: [
|
|
331
|
+
{
|
|
332
|
+
entity: 'SecurityManagement.User',
|
|
333
|
+
title: '@security-management:reports.user-password-change-history.title',
|
|
334
|
+
description: '@security-management:reports.user-password-change-history.description',
|
|
335
|
+
display: ['page'],
|
|
336
|
+
parameters: {
|
|
337
|
+
userId: 'id',
|
|
338
|
+
dateRange: 'today',
|
|
339
|
+
},
|
|
340
|
+
order: 40,
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
layouts: [
|
|
344
|
+
{
|
|
345
|
+
id: USER_PASSWORD_CHANGE_TABLE,
|
|
346
|
+
title: 'Table View',
|
|
347
|
+
icon: 'fa-light fa-key',
|
|
348
|
+
isDefault: true,
|
|
349
|
+
layout: {
|
|
350
|
+
type: 'table',
|
|
351
|
+
columns: [
|
|
352
|
+
{
|
|
353
|
+
field: 'username',
|
|
354
|
+
title: '@security-management:reports.columns.username',
|
|
355
|
+
visible: true,
|
|
356
|
+
sortable: true,
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
field: 'displayName',
|
|
360
|
+
title: '@security-management:reports.columns.display-name',
|
|
361
|
+
visible: true,
|
|
362
|
+
sortable: true,
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
field: 'passwordChangedAt',
|
|
366
|
+
title: '@security-management:reports.columns.password-changed-at',
|
|
367
|
+
visible: true,
|
|
368
|
+
sortable: true,
|
|
369
|
+
widget: DATETIME_COLUMN_WIDGET,
|
|
370
|
+
},
|
|
371
|
+
],
|
|
372
|
+
options: { pagination: true, stickyHeader: true, stripedRows: true },
|
|
373
|
+
},
|
|
374
|
+
dataSource: {
|
|
375
|
+
type: 'query',
|
|
376
|
+
name: module_security_management_contracts_1.RootConfig.queries.reports.getUserPasswordChangeHistory,
|
|
377
|
+
pagination: true,
|
|
378
|
+
},
|
|
379
|
+
export: Object.assign(Object.assign({}, BASE_EXPORT), { fileNameTemplate: 'User_Password_Changes_{date}_{user}', excel: { enabled: true, sheetName: 'Password Changes' }, csv: { enabled: true } }),
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
defaultLayoutId: USER_PASSWORD_CHANGE_TABLE,
|
|
383
|
+
},
|
|
384
|
+
];
|
|
385
|
+
//#endregion
|
|
386
|
+
//# sourceMappingURL=security-report.definitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security-report.definitions.js","sourceRoot":"","sources":["../../../../../../../libs/modules/security-management/server/src/lib/reports/security-report.definitions.ts"],"names":[],"mappings":";;;AACA,gHAG+D;AAC/D,yFAM4C;AAE5C,kDAAkD;AAErC,QAAA,kCAAkC,GAAG,sCAAsC,CAAC;AAC5E,QAAA,2BAA2B,GAAG,sCAAsC,CAAC;AAClF,gGAAgG;AACnF,QAAA,yBAAyB,GAAG,sCAAsC,CAAC;AAEnE,QAAA,sCAAsC,GAAG,sCAAsC,CAAC;AAChF,QAAA,4CAA4C,GAAG,sCAAsC,CAAC;AACtF,QAAA,8BAA8B,GAAG,sCAAsC,CAAC;AACxE,QAAA,oCAAoC,GAAG,sCAAsC,CAAC;AAC9E,QAAA,sCAAsC,GAAG,sCAAsC,CAAC;AAE7F,MAAM,0BAA0B,GAAG,sCAAsC,CAAC;AAC1E,MAAM,gCAAgC,GAAG,sCAAsC,CAAC;AAChF,MAAM,kBAAkB,GAAG,sCAAsC,CAAC;AAClE,MAAM,wBAAwB,GA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AAW,KACd,gBAAgB,EAAE,qCAAqC,EACvD,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,EACvD,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,GACvB;aACF;SACF;QACD,eAAe,EAAE,0BAA0B;KAC5C;CACF,CAAC;AAEF,YAAY"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnModuleInit } from '@nestjs/common';
|
|
2
|
+
import { EntityStorageMiddlewareService } from '@acorex-platform/framework-server/core';
|
|
3
|
+
import { UserAssignedRolesMiddleware } from './middlewares/user-assigned-roles.middleware';
|
|
4
|
+
import { DeviceSessionsActiveMiddleware } from './middlewares/device-sessions-active.middleware';
|
|
5
|
+
import { DeviceSessionsAppScopeMiddleware } from './middlewares/device-sessions-app-scope.middleware';
|
|
6
|
+
import { DeviceSessionsTokenRevokeMiddleware } from './middlewares/device-sessions-token-revoke.middleware';
|
|
7
|
+
import { UserEffectiveStateMiddleware } from './middlewares/user-effective-state.middleware';
|
|
8
|
+
import { UserInvitationListMiddleware } from './middlewares/user-invitation-list.middleware';
|
|
9
|
+
import { UserProfileWriteMiddleware } from './middlewares/user-profile-write.middleware';
|
|
10
|
+
/**
|
|
11
|
+
* Ensures User middlewares join the server pipeline.
|
|
12
|
+
* Webpack can split `ENTITY_STORAGE_MIDDLEWARE` tokens so `useExisting` aliases
|
|
13
|
+
* are not discovered — register the instances the same way other modules do.
|
|
14
|
+
*/
|
|
15
|
+
export declare class SecurityManagementEntityStorageBootstrap implements OnModuleInit {
|
|
16
|
+
private readonly storage;
|
|
17
|
+
private readonly userAssignedRoles;
|
|
18
|
+
private readonly userProfileWrite;
|
|
19
|
+
private readonly userEffectiveState;
|
|
20
|
+
private readonly userInvitationList;
|
|
21
|
+
private readonly deviceSessionsAppScope;
|
|
22
|
+
private readonly deviceSessionsActive;
|
|
23
|
+
private readonly deviceSessionsTokenRevoke;
|
|
24
|
+
constructor(storage: EntityStorageMiddlewareService, userAssignedRoles: UserAssignedRolesMiddleware, userProfileWrite: UserProfileWriteMiddleware, userEffectiveState: UserEffectiveStateMiddleware, userInvitationList: UserInvitationListMiddleware, deviceSessionsAppScope: DeviceSessionsAppScopeMiddleware, deviceSessionsActive: DeviceSessionsActiveMiddleware, deviceSessionsTokenRevoke: DeviceSessionsTokenRevokeMiddleware);
|
|
25
|
+
onModuleInit(): void;
|
|
26
|
+
}
|