@acorex-platform/module-security-management-server 0.0.15 → 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 +341 -283
- package/contracts/src/entities/users/users.entity.js.map +1 -1
- package/contracts/src/entities/users/users.types.d.ts +24 -1
- 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 +13 -1
- package/contracts/src/index.js +13 -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.d.ts +10 -0
- package/contracts/src/resolve-user-effective-state.js +46 -0
- package/contracts/src/resolve-user-effective-state.js.map +1 -0
- 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 +340 -0
- package/contracts/src/server-commands.js +88 -0
- package/contracts/src/server-commands.js.map +1 -0
- 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.d.ts +9 -0
- package/contracts/src/user-password-reset.js +5 -0
- package/contracts/src/user-password-reset.js.map +1 -0
- package/package.json +16 -11
- 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/server/src/lib/middlewares/user-effective-state.middleware.d.ts +13 -0
- package/server/src/lib/middlewares/user-effective-state.middleware.js +57 -0
- 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/server/src/lib/password-reset/complete-password-reset.command.d.ts +8 -0
- package/server/src/lib/password-reset/complete-password-reset.command.js +37 -0
- 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/server/src/lib/password-reset/send-password-reset-email.command.d.ts +20 -0
- package/server/src/lib/password-reset/send-password-reset-email.command.js +43 -0
- 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/server/src/lib/password-reset/user-password-reset.service.d.ts +26 -0
- package/server/src/lib/password-reset/user-password-reset.service.js +221 -0
- 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/security-management-server.module.d.ts +0 -2
- package/src/lib/security-management-server.module.js +0 -23
- 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 -14
- package/src/lib/seed/user/resolve-user-effective-state.util.js +0 -61
- package/src/lib/seed/user/resolve-user-effective-state.util.js.map +0 -1
- package/src/lib/seed/user/user.mock.d.ts +0 -20
- package/src/lib/seed/user/user.mock.js +0 -332
- 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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EntityStorageMiddlewareService } from '@acorex-platform/framework-server/core';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the user's last `passwordChangedAt` when it falls in the selected range.
|
|
4
|
+
* Full multi-change history is not stored yet — only the latest stamp on the user row.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PasswordChangeHistoryService {
|
|
7
|
+
private readonly storage;
|
|
8
|
+
constructor(storage: EntityStorageMiddlewareService);
|
|
9
|
+
rows(input: {
|
|
10
|
+
userId: string;
|
|
11
|
+
from: Date;
|
|
12
|
+
to: Date;
|
|
13
|
+
}): Promise<Record<string, unknown>[]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PasswordChangeHistoryService = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const common_1 = require("@nestjs/common");
|
|
6
|
+
const core_1 = require("@acorex-platform/framework-server/core");
|
|
7
|
+
//#region ----- Types -----
|
|
8
|
+
const USER_ENTITY = 'SecurityManagement.User';
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region ----- Password change history -----
|
|
11
|
+
/**
|
|
12
|
+
* Returns the user's last `passwordChangedAt` when it falls in the selected range.
|
|
13
|
+
* Full multi-change history is not stored yet — only the latest stamp on the user row.
|
|
14
|
+
*/
|
|
15
|
+
let PasswordChangeHistoryService = class PasswordChangeHistoryService {
|
|
16
|
+
constructor(storage) {
|
|
17
|
+
this.storage = storage;
|
|
18
|
+
}
|
|
19
|
+
rows(input) {
|
|
20
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
var _a, _b;
|
|
22
|
+
const page = yield this.storage.queryAsEngine(USER_ENTITY, {
|
|
23
|
+
skip: 0,
|
|
24
|
+
take: 1,
|
|
25
|
+
filter: {
|
|
26
|
+
logic: 'and',
|
|
27
|
+
filters: [{ field: 'id', operator: { type: 'equal' }, value: input.userId }],
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
const row = ((_b = (_a = page.items) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null);
|
|
31
|
+
if (!row) {
|
|
32
|
+
return [];
|
|
33
|
+
}
|
|
34
|
+
const changedAt = toDate(row['passwordChangedAt']);
|
|
35
|
+
if (!changedAt) {
|
|
36
|
+
return [];
|
|
37
|
+
}
|
|
38
|
+
const ms = changedAt.getTime();
|
|
39
|
+
if (ms < input.from.getTime() || ms > input.to.getTime()) {
|
|
40
|
+
return [];
|
|
41
|
+
}
|
|
42
|
+
const username = typeof row['username'] === 'string' ? row['username'] : input.userId;
|
|
43
|
+
const displayName = (typeof row['displayName'] === 'string' && row['displayName'].trim()) || username;
|
|
44
|
+
return [
|
|
45
|
+
{
|
|
46
|
+
userId: input.userId,
|
|
47
|
+
username,
|
|
48
|
+
displayName,
|
|
49
|
+
passwordChangedAt: changedAt.toISOString(),
|
|
50
|
+
eventType: 'password-changed',
|
|
51
|
+
},
|
|
52
|
+
];
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
exports.PasswordChangeHistoryService = PasswordChangeHistoryService;
|
|
57
|
+
exports.PasswordChangeHistoryService = PasswordChangeHistoryService = tslib_1.__decorate([
|
|
58
|
+
(0, common_1.Injectable)(),
|
|
59
|
+
tslib_1.__metadata("design:paramtypes", [core_1.EntityStorageMiddlewareService])
|
|
60
|
+
], PasswordChangeHistoryService);
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region ----- Helpers -----
|
|
63
|
+
function toDate(value) {
|
|
64
|
+
if (value instanceof Date && !Number.isNaN(value.getTime())) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
if (typeof value === 'string' && value.trim()) {
|
|
68
|
+
const parsed = new Date(value);
|
|
69
|
+
return Number.isNaN(parsed.getTime()) ? null : parsed;
|
|
70
|
+
}
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
//#endregion
|
|
74
|
+
//# sourceMappingURL=password-change-history.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"password-change-history.service.js","sourceRoot":"","sources":["../../../../../../../libs/modules/security-management/server/src/lib/reports/password-change-history.service.ts"],"names":[],"mappings":";;;;AAAA,2CAA4C;AAC5C,iEAAwF;AAExF,2BAA2B;AAE3B,MAAM,WAAW,GAAG,yBAAyB,CAAC;AAE9C,YAAY;AAEZ,6CAA6C;AAE7C;;;GAGG;AAEI,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IACvC,YAA6B,OAAuC;QAAvC,YAAO,GAAP,OAAO,CAAgC;IAAG,CAAC;IAElE,IAAI,CAAC,KAIV;;;YACC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,WAAW,EAAE;gBACzD,IAAI,EAAE,CAAC;gBACP,IAAI,EAAE,CAAC;gBACP,MAAM,EAAE;oBACN,KAAK,EAAE,KAAK;oBACZ,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;iBAC7E;aACF,CAAC,CAAC;YACH,MAAM,GAAG,GAAG,CAAC,MAAA,MAAA,IAAI,CAAC,KAAK,0CAAG,CAAC,CAAC,mCAAI,IAAI,CAAmC,CAAC;YACxE,IAAI,CAAC,GAAG,EAAE,CAAC;gBACT,OAAO,EAAE,CAAC;YACZ,CAAC;YAED,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,CAAC;YACnD,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,OAAO,EAAE,CAAC;YACZ,CAAC;YACD,MAAM,EAAE,GAAG,SAAS,CAAC,OAAO,EAAE,CAAC;YAC/B,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC;gBACzD,OAAO,EAAE,CAAC;YACZ,CAAC;YAED,MAAM,QAAQ,GAAG,OAAO,GAAG,CAAC,UAAU,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;YACtF,MAAM,WAAW,GACf,CAAC,OAAO,GAAG,CAAC,aAAa,CAAC,KAAK,QAAQ,IAAI,GAAG,CAAC,aAAa,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,QAAQ,CAAC;YAEpF,OAAO;gBACL;oBACE,MAAM,EAAE,KAAK,CAAC,MAAM;oBACpB,QAAQ;oBACR,WAAW;oBACX,iBAAiB,EAAE,SAAS,CAAC,WAAW,EAAE;oBAC1C,SAAS,EAAE,kBAAkB;iBAC9B;aACF,CAAC;QACJ,CAAC;KAAA;CACF,CAAA;AA5CY,oEAA4B;uCAA5B,4BAA4B;IADxC,IAAA,mBAAU,GAAE;6CAE2B,qCAA8B;GADzD,4BAA4B,CA4CxC;AAED,YAAY;AAEZ,6BAA6B;AAE7B,SAAS,MAAM,CAAC,KAAc;IAC5B,IAAI,KAAK,YAAY,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC;QAC5D,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;QAC9C,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/B,OAAO,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACxD,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,YAAY"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds a case-insensitive search haystack for a permission key from:
|
|
3
|
+
* key, humanized capability, i18n key paths, and resolved title/description
|
|
4
|
+
* strings from demo `common.json` (en-US + fa-IR) when available on disk.
|
|
5
|
+
*/
|
|
6
|
+
export declare function buildPermissionSearchHaystack(permissionKey: string): string;
|
|
7
|
+
export declare function permissionMatchesContainsSearch(permissionKey: string, search: string | undefined): boolean;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildPermissionSearchHaystack = buildPermissionSearchHaystack;
|
|
4
|
+
exports.permissionMatchesContainsSearch = permissionMatchesContainsSearch;
|
|
5
|
+
const node_fs_1 = require("node:fs");
|
|
6
|
+
const node_path_1 = require("node:path");
|
|
7
|
+
const module_common_contracts_1 = require("@acorex-platform/module-common-client/contracts");
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region ----- Permission display catalog (search haystack) -----
|
|
10
|
+
const SEARCH_LOCALES = ['en-US', 'fa-IR'];
|
|
11
|
+
let commonByLocale = null;
|
|
12
|
+
/**
|
|
13
|
+
* Builds a case-insensitive search haystack for a permission key from:
|
|
14
|
+
* key, humanized capability, i18n key paths, and resolved title/description
|
|
15
|
+
* strings from demo `common.json` (en-US + fa-IR) when available on disk.
|
|
16
|
+
*/
|
|
17
|
+
function buildPermissionSearchHaystack(permissionKey) {
|
|
18
|
+
const parts = new Set([permissionKey, (0, module_common_contracts_1.humanizePermissionCapability)(permissionKey)]);
|
|
19
|
+
const i18n = (0, module_common_contracts_1.resolvePermissionI18nKeys)(permissionKey);
|
|
20
|
+
if (i18n) {
|
|
21
|
+
parts.add(i18n.titleKey);
|
|
22
|
+
parts.add(i18n.descriptionKey);
|
|
23
|
+
for (const locale of SEARCH_LOCALES) {
|
|
24
|
+
const title = lookupCommonPath(locale, i18n.titleKey);
|
|
25
|
+
const description = lookupCommonPath(locale, i18n.descriptionKey);
|
|
26
|
+
if (title) {
|
|
27
|
+
parts.add(title);
|
|
28
|
+
}
|
|
29
|
+
if (description) {
|
|
30
|
+
parts.add(description);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return [...parts].join('\n').toLowerCase();
|
|
35
|
+
}
|
|
36
|
+
function permissionMatchesContainsSearch(permissionKey, search) {
|
|
37
|
+
const query = search === null || search === void 0 ? void 0 : search.trim().toLowerCase();
|
|
38
|
+
if (!query) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
const haystack = buildPermissionSearchHaystack(permissionKey);
|
|
42
|
+
if (haystack.includes(query)) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
// Multi-word queries: require every token (e.g. "Access Administration").
|
|
46
|
+
return query.split(/\s+/).filter(Boolean).every((token) => haystack.includes(token));
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region ----- Internals -----
|
|
50
|
+
function lookupCommonPath(locale, i18nKey) {
|
|
51
|
+
const path = i18nKey.startsWith('@common:') ? i18nKey.slice('@common:'.length) : null;
|
|
52
|
+
if (!path) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
const root = loadCommonLocale(locale);
|
|
56
|
+
if (!root) {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
let current = root;
|
|
60
|
+
for (const segment of path.split('.')) {
|
|
61
|
+
if (!current || typeof current !== 'object' || Array.isArray(current)) {
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
current = current[segment];
|
|
65
|
+
}
|
|
66
|
+
return typeof current === 'string' && current.trim() ? current.trim() : undefined;
|
|
67
|
+
}
|
|
68
|
+
function loadCommonLocale(locale) {
|
|
69
|
+
var _a;
|
|
70
|
+
if (!commonByLocale) {
|
|
71
|
+
commonByLocale = new Map();
|
|
72
|
+
}
|
|
73
|
+
if (commonByLocale.has(locale)) {
|
|
74
|
+
return (_a = commonByLocale.get(locale)) !== null && _a !== void 0 ? _a : null;
|
|
75
|
+
}
|
|
76
|
+
for (const candidate of commonJsonCandidates(locale)) {
|
|
77
|
+
if (!(0, node_fs_1.existsSync)(candidate)) {
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
try {
|
|
81
|
+
const parsed = JSON.parse((0, node_fs_1.readFileSync)(candidate, 'utf8'));
|
|
82
|
+
commonByLocale.set(locale, parsed);
|
|
83
|
+
return parsed;
|
|
84
|
+
}
|
|
85
|
+
catch (_b) {
|
|
86
|
+
// try next candidate
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
commonByLocale.set(locale, {});
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
function commonJsonCandidates(locale) {
|
|
93
|
+
const cwd = process.cwd();
|
|
94
|
+
return [
|
|
95
|
+
(0, node_path_1.join)(cwd, 'libs/modules/common/client/i18n', locale, 'common.json'),
|
|
96
|
+
(0, node_path_1.join)(cwd, 'dist/apps/demo/browser/assets/i18n', locale, 'common.json'),
|
|
97
|
+
(0, node_path_1.join)(cwd, 'dist/apps/demo/assets/i18n', locale, 'common.json'),
|
|
98
|
+
];
|
|
99
|
+
}
|
|
100
|
+
//#endregion
|
|
101
|
+
//# sourceMappingURL=permission-display-catalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission-display-catalog.js","sourceRoot":"","sources":["../../../../../../../libs/modules/security-management/server/src/lib/reports/permission-display-catalog.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BackendReportDefinitionProvider, type BackendReportCategory, type BackendReportDefinition } from '@acorex-platform/framework-server/report';
|
|
2
|
+
export declare class SecurityReportDefinitionProvider implements BackendReportDefinitionProvider {
|
|
3
|
+
getCategories(): BackendReportCategory[];
|
|
4
|
+
getDefinitions(): BackendReportDefinition[];
|
|
5
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SecurityReportDefinitionProvider = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const common_1 = require("@nestjs/common");
|
|
6
|
+
const report_1 = require("@acorex-platform/framework-server/report");
|
|
7
|
+
const security_report_definitions_1 = require("./security-report.definitions");
|
|
8
|
+
//#region ----- Security report definition provider -----
|
|
9
|
+
let SecurityReportDefinitionProvider = class SecurityReportDefinitionProvider {
|
|
10
|
+
getCategories() {
|
|
11
|
+
return security_report_definitions_1.SECURITY_REPORT_CATEGORIES;
|
|
12
|
+
}
|
|
13
|
+
getDefinitions() {
|
|
14
|
+
return security_report_definitions_1.SECURITY_REPORT_DEFINITIONS;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
exports.SecurityReportDefinitionProvider = SecurityReportDefinitionProvider;
|
|
18
|
+
exports.SecurityReportDefinitionProvider = SecurityReportDefinitionProvider = tslib_1.__decorate([
|
|
19
|
+
(0, common_1.Injectable)(),
|
|
20
|
+
(0, report_1.ReportDefinitionProvider)()
|
|
21
|
+
], SecurityReportDefinitionProvider);
|
|
22
|
+
//#endregion
|
|
23
|
+
//# sourceMappingURL=security-report-definition.provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security-report-definition.provider.js","sourceRoot":"","sources":["../../../../../../../libs/modules/security-management/server/src/lib/reports/security-report-definition.provider.ts"],"names":[],"mappings":";;;;AAAA,2CAA4C;AAC5C,qEAKkD;AAClD,+EAGuC;AAEvC,yDAAyD;AAIlD,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAC3C,aAAa;QACX,OAAO,wDAA0B,CAAC;IACpC,CAAC;IAED,cAAc;QACZ,OAAO,yDAA2B,CAAC;IACrC,CAAC;CACF,CAAA;AARY,4EAAgC;2CAAhC,gCAAgC;IAF5C,IAAA,mBAAU,GAAE;IACZ,IAAA,iCAAwB,GAAE;GACd,gCAAgC,CAQ5C;AAED,YAAY"}
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
export declare const USER_EFFECTIVE_ACCESS_PARAMETER_GROUP: {
|
|
2
|
+
name: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
parameters: ({
|
|
6
|
+
path: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description: string;
|
|
9
|
+
widget: {
|
|
10
|
+
type: string;
|
|
11
|
+
options: {
|
|
12
|
+
format: string;
|
|
13
|
+
showTime: boolean;
|
|
14
|
+
defaultValue: string;
|
|
15
|
+
entity?: undefined;
|
|
16
|
+
multiple?: undefined;
|
|
17
|
+
textField?: undefined;
|
|
18
|
+
valueField?: undefined;
|
|
19
|
+
look?: undefined;
|
|
20
|
+
columns?: undefined;
|
|
21
|
+
hasClearButton?: undefined;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
visible?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
path: string;
|
|
27
|
+
title: string;
|
|
28
|
+
description: string;
|
|
29
|
+
widget: {
|
|
30
|
+
type: string;
|
|
31
|
+
options: {
|
|
32
|
+
entity: string;
|
|
33
|
+
multiple: boolean;
|
|
34
|
+
textField: string;
|
|
35
|
+
valueField: string;
|
|
36
|
+
look: string;
|
|
37
|
+
columns: string[];
|
|
38
|
+
hasClearButton: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
})[];
|
|
42
|
+
};
|
|
43
|
+
/** User effective permissions history: shared scope filters + permission contains search. */
|
|
44
|
+
export declare const USER_EFFECTIVE_PERMISSIONS_PARAMETER_GROUP: {
|
|
45
|
+
name: string;
|
|
46
|
+
title: string;
|
|
47
|
+
description: string;
|
|
48
|
+
parameters: ({
|
|
49
|
+
path: string;
|
|
50
|
+
title: string;
|
|
51
|
+
description: string;
|
|
52
|
+
widget: {
|
|
53
|
+
type: string;
|
|
54
|
+
options: {
|
|
55
|
+
format: string;
|
|
56
|
+
showTime: boolean;
|
|
57
|
+
defaultValue: string;
|
|
58
|
+
entity?: undefined;
|
|
59
|
+
multiple?: undefined;
|
|
60
|
+
textField?: undefined;
|
|
61
|
+
valueField?: undefined;
|
|
62
|
+
look?: undefined;
|
|
63
|
+
columns?: undefined;
|
|
64
|
+
hasClearButton?: undefined;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
visible?: undefined;
|
|
68
|
+
} | {
|
|
69
|
+
path: string;
|
|
70
|
+
title: string;
|
|
71
|
+
description: string;
|
|
72
|
+
widget: {
|
|
73
|
+
type: string;
|
|
74
|
+
options: {
|
|
75
|
+
entity: string;
|
|
76
|
+
multiple: boolean;
|
|
77
|
+
textField: string;
|
|
78
|
+
valueField: string;
|
|
79
|
+
look: string;
|
|
80
|
+
columns: string[];
|
|
81
|
+
hasClearButton: boolean;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
} | {
|
|
85
|
+
path: string;
|
|
86
|
+
title: string;
|
|
87
|
+
description: string;
|
|
88
|
+
widget: {
|
|
89
|
+
type: string;
|
|
90
|
+
options: {
|
|
91
|
+
operations: {
|
|
92
|
+
name: string;
|
|
93
|
+
title: string;
|
|
94
|
+
hasValue: boolean;
|
|
95
|
+
}[];
|
|
96
|
+
placeholder: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
})[];
|
|
100
|
+
};
|
|
101
|
+
export declare const ROLE_HOLDERS_PARAMETER_GROUP: {
|
|
102
|
+
name: string;
|
|
103
|
+
title: string;
|
|
104
|
+
description: string;
|
|
105
|
+
parameters: ({
|
|
106
|
+
path: string;
|
|
107
|
+
title: string;
|
|
108
|
+
description: string;
|
|
109
|
+
widget: {
|
|
110
|
+
type: string;
|
|
111
|
+
options: {
|
|
112
|
+
format: string;
|
|
113
|
+
showTime: boolean;
|
|
114
|
+
defaultValue: string;
|
|
115
|
+
entity?: undefined;
|
|
116
|
+
multiple?: undefined;
|
|
117
|
+
textField?: undefined;
|
|
118
|
+
valueField?: undefined;
|
|
119
|
+
look?: undefined;
|
|
120
|
+
columns?: undefined;
|
|
121
|
+
hasClearButton?: undefined;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
visible?: undefined;
|
|
125
|
+
} | {
|
|
126
|
+
path: string;
|
|
127
|
+
title: string;
|
|
128
|
+
description: string;
|
|
129
|
+
visible: string;
|
|
130
|
+
widget: {
|
|
131
|
+
type: string;
|
|
132
|
+
options: {
|
|
133
|
+
entity: string;
|
|
134
|
+
multiple: boolean;
|
|
135
|
+
textField: string;
|
|
136
|
+
valueField: string;
|
|
137
|
+
look: string;
|
|
138
|
+
columns: string[];
|
|
139
|
+
hasClearButton: boolean;
|
|
140
|
+
format?: undefined;
|
|
141
|
+
showTime?: undefined;
|
|
142
|
+
defaultValue?: undefined;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
} | {
|
|
146
|
+
path: string;
|
|
147
|
+
title: string;
|
|
148
|
+
description: string;
|
|
149
|
+
visible: boolean;
|
|
150
|
+
widget: {
|
|
151
|
+
type: string;
|
|
152
|
+
options: {
|
|
153
|
+
entity: string;
|
|
154
|
+
multiple: boolean;
|
|
155
|
+
textField: string;
|
|
156
|
+
valueField: string;
|
|
157
|
+
look: string;
|
|
158
|
+
columns: string[];
|
|
159
|
+
hasClearButton: boolean;
|
|
160
|
+
format?: undefined;
|
|
161
|
+
showTime?: undefined;
|
|
162
|
+
defaultValue?: undefined;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
} | {
|
|
166
|
+
path: string;
|
|
167
|
+
title: string;
|
|
168
|
+
description: string;
|
|
169
|
+
widget: {
|
|
170
|
+
type: string;
|
|
171
|
+
options: {
|
|
172
|
+
entity: string;
|
|
173
|
+
multiple: boolean;
|
|
174
|
+
textField: string;
|
|
175
|
+
valueField: string;
|
|
176
|
+
look: string;
|
|
177
|
+
columns: string[];
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
})[];
|
|
181
|
+
};
|
|
182
|
+
export declare const PERMISSION_HOLDERS_PARAMETER_GROUP: {
|
|
183
|
+
name: string;
|
|
184
|
+
title: string;
|
|
185
|
+
description: string;
|
|
186
|
+
parameters: ({
|
|
187
|
+
path: string;
|
|
188
|
+
title: string;
|
|
189
|
+
description: string;
|
|
190
|
+
widget: {
|
|
191
|
+
type: string;
|
|
192
|
+
options: {
|
|
193
|
+
format: string;
|
|
194
|
+
showTime: boolean;
|
|
195
|
+
defaultValue: string;
|
|
196
|
+
entity?: undefined;
|
|
197
|
+
multiple?: undefined;
|
|
198
|
+
textField?: undefined;
|
|
199
|
+
valueField?: undefined;
|
|
200
|
+
look?: undefined;
|
|
201
|
+
columns?: undefined;
|
|
202
|
+
hasClearButton?: undefined;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
visible?: undefined;
|
|
206
|
+
} | {
|
|
207
|
+
path: string;
|
|
208
|
+
title: string;
|
|
209
|
+
description: string;
|
|
210
|
+
visible: string;
|
|
211
|
+
widget: {
|
|
212
|
+
type: string;
|
|
213
|
+
options: {
|
|
214
|
+
entity: string;
|
|
215
|
+
multiple: boolean;
|
|
216
|
+
textField: string;
|
|
217
|
+
valueField: string;
|
|
218
|
+
look: string;
|
|
219
|
+
columns: string[];
|
|
220
|
+
hasClearButton: boolean;
|
|
221
|
+
format?: undefined;
|
|
222
|
+
showTime?: undefined;
|
|
223
|
+
defaultValue?: undefined;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
} | {
|
|
227
|
+
path: string;
|
|
228
|
+
title: string;
|
|
229
|
+
description: string;
|
|
230
|
+
visible: boolean;
|
|
231
|
+
widget: {
|
|
232
|
+
type: string;
|
|
233
|
+
options: {
|
|
234
|
+
entity: string;
|
|
235
|
+
multiple: boolean;
|
|
236
|
+
textField: string;
|
|
237
|
+
valueField: string;
|
|
238
|
+
look: string;
|
|
239
|
+
columns: string[];
|
|
240
|
+
hasClearButton: boolean;
|
|
241
|
+
format?: undefined;
|
|
242
|
+
showTime?: undefined;
|
|
243
|
+
defaultValue?: undefined;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
} | {
|
|
247
|
+
path: string;
|
|
248
|
+
title: string;
|
|
249
|
+
description: string;
|
|
250
|
+
widget: {
|
|
251
|
+
type: string;
|
|
252
|
+
options: {
|
|
253
|
+
placeholder: string;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
})[];
|
|
257
|
+
};
|
|
258
|
+
/** User + date range for password-change history (and similar user-scoped security reports). */
|
|
259
|
+
export declare const USER_PASSWORD_CHANGE_PARAMETER_GROUP: {
|
|
260
|
+
name: string;
|
|
261
|
+
title: string;
|
|
262
|
+
description: string;
|
|
263
|
+
parameters: ({
|
|
264
|
+
path: string;
|
|
265
|
+
title: string;
|
|
266
|
+
description: string;
|
|
267
|
+
widget: {
|
|
268
|
+
type: string;
|
|
269
|
+
options: {
|
|
270
|
+
format: string;
|
|
271
|
+
showTime: boolean;
|
|
272
|
+
defaultValue: string;
|
|
273
|
+
entity?: undefined;
|
|
274
|
+
multiple?: undefined;
|
|
275
|
+
textField?: undefined;
|
|
276
|
+
valueField?: undefined;
|
|
277
|
+
look?: undefined;
|
|
278
|
+
columns?: undefined;
|
|
279
|
+
hasClearButton?: undefined;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
visible?: undefined;
|
|
283
|
+
} | {
|
|
284
|
+
path: string;
|
|
285
|
+
title: string;
|
|
286
|
+
description: string;
|
|
287
|
+
visible: string;
|
|
288
|
+
widget: {
|
|
289
|
+
type: string;
|
|
290
|
+
options: {
|
|
291
|
+
entity: string;
|
|
292
|
+
multiple: boolean;
|
|
293
|
+
textField: string;
|
|
294
|
+
valueField: string;
|
|
295
|
+
look: string;
|
|
296
|
+
columns: string[];
|
|
297
|
+
hasClearButton: boolean;
|
|
298
|
+
format?: undefined;
|
|
299
|
+
showTime?: undefined;
|
|
300
|
+
defaultValue?: undefined;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
} | {
|
|
304
|
+
path: string;
|
|
305
|
+
title: string;
|
|
306
|
+
description: string;
|
|
307
|
+
visible: boolean;
|
|
308
|
+
widget: {
|
|
309
|
+
type: string;
|
|
310
|
+
options: {
|
|
311
|
+
entity: string;
|
|
312
|
+
multiple: boolean;
|
|
313
|
+
textField: string;
|
|
314
|
+
valueField: string;
|
|
315
|
+
look: string;
|
|
316
|
+
columns: string[];
|
|
317
|
+
hasClearButton: boolean;
|
|
318
|
+
format?: undefined;
|
|
319
|
+
showTime?: undefined;
|
|
320
|
+
defaultValue?: undefined;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
} | {
|
|
324
|
+
widget: {
|
|
325
|
+
options: {
|
|
326
|
+
validations: {
|
|
327
|
+
rule: string;
|
|
328
|
+
}[];
|
|
329
|
+
entity: string;
|
|
330
|
+
multiple: boolean;
|
|
331
|
+
textField: string;
|
|
332
|
+
valueField: string;
|
|
333
|
+
look: string;
|
|
334
|
+
columns: string[];
|
|
335
|
+
hasClearButton: boolean;
|
|
336
|
+
};
|
|
337
|
+
type: string;
|
|
338
|
+
};
|
|
339
|
+
path: string;
|
|
340
|
+
title: string;
|
|
341
|
+
description: string;
|
|
342
|
+
})[];
|
|
343
|
+
};
|