This is an automated email from the ASF dual-hosted git repository.
yasithdev pushed a change to branch slurm-delete-user-min
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
omit 5811c426f Deactivate before delete
omit 63babe952 Deactivate members from the portal
omit 1e53648a9 Reopen deactivated account on create
omit fe1760c5c Deactivate a user's accounts with them
omit 4e38316ad Gate deactivation behind its own privilege
omit 2c5830f81 Deactivate allocations and memberships
omit e6f7fddcc Mark deactivated account storage
omit 6c7b33f32 Deactivate cluster accounts
omit 69ca9a07a Replay state to newly enabled connectors
omit 32cadd0d9 Repair stale readiness in settle pass
omit 2a39d3d1b Settle connector requests periodically
omit cf3de2946 Document core connector requests
omit 960c1f50e Request account identity from core
omit cd02096ff Resync memberships after user merge
omit a8d648758 Move connector state into core
add 95cf5bcf5 Temp account connector make user inactive and fail PAM test
when any test fails (#716)
add 5862f6b8e Let admins correct a pending user's email (#717)
add 29be95de0 Move connector state into core
add 66935acf5 Deactivate cluster accounts
add fd98635f3 Deactivate before delete
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (5811c426f)
\
N -- N -- N refs/heads/slurm-delete-user-min (fd98635f3)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
CONFIG.md | 3 +-
api/core.openapi.yaml | 106 ++++------
cmd/server/main.go | 8 +-
connectors/COmanage/Identity-Provisioner/README.md | 5 +-
.../internal/operations/compose.go | 38 ++++
.../internal/operations/compose_test.go | 13 ++
.../internal/operations/remove_posix_account.go | 34 ++-
.../internal/subscribers/cluster_user.go | 12 ++
.../internal/subscribers/cluster_user_test.go | 3 +
.../internal/subscribers/account.go | 35 ----
.../internal/subscribers/deprovision.go | 30 ---
.../internal/subscribers/deprovision_test.go | 78 ++-----
.../internal/subscribers/members_test.go | 2 +-
.../internal/subscribers/reconciler.go | 14 ++
.../internal/subscribers/subscriber.go | 1 -
connectors/Storage/VAST-Provisioner/README.md | 3 +-
.../internal/subscribers/subscriber.go | 13 +-
.../internal/subscribers/subscriber_test.go | 24 +--
connectors/TempAccount/internal/handlers.go | 15 +-
.../internal/handlers_integration_test.go | 39 ++++
docs/architecture.md | 6 +-
docs/privileges.md | 7 +-
extensions/CILogon-SSH-PAM/test/Makefile | 2 +-
.../db/migrations/000009_connector_marks.down.sql | 1 -
.../db/migrations/000009_connector_marks.up.sql | 2 -
..._sync.down.sql => 000010_deactivation.down.sql} | 3 +-
...lusters.down.sql => 000010_deactivation.up.sql} | 5 +-
.../db/migrations/000010_subscription_sync.up.sql | 21 --
.../db/migrations/000011_deactivation.down.sql | 21 --
internal/db/migrations/000011_deactivation.up.sql | 34 ---
internal/server/allocation_membership.go | 20 --
internal/server/privilege_integration_test.go | 18 --
internal/server/server.go | 7 +-
internal/server/user.go | 37 +++-
.../store/compute_allocation_membership_store.go | 13 --
internal/store/compute_cluster_user_store.go | 21 +-
internal/store/event_delivery_store.go | 40 +---
internal/store/store.go | 18 +-
pkg/events/bus.go | 34 +--
pkg/models/allocation.go | 6 +-
pkg/models/event_delivery.go | 7 -
pkg/models/privilege.go | 7 -
pkg/service/compute_allocation.go | 18 +-
pkg/service/compute_cluster_user.go | 11 +-
.../compute_cluster_user_integration_test.go | 59 ++----
pkg/service/connector_requests.go | 49 ++++-
pkg/service/connector_requests_integration_test.go | 95 +++------
pkg/service/connector_settle.go | 230 ---------------------
pkg/service/connector_settle_integration_test.go | 123 -----------
pkg/service/identity_resolver_integration_test.go | 5 +-
pkg/service/interface.go | 1 +
.../membership_lifecycle_integration_test.go | 42 ++++
pkg/service/membership_sweep.go | 37 ----
pkg/service/membership_sweep_integration_test.go | 53 -----
pkg/service/mock.go | 62 ++++++
pkg/service/user.go | 59 +++++-
pkg/service/user_merge.go | 15 ++
pkg/service/user_merge_integration_test.go | 3 -
pkg/service/user_onboard.go | 34 +--
pkg/service/user_onboard_integration_test.go | 29 +++
.../management/__tests__/AddUserDialog.test.tsx | 1 -
.../core/allocations/__fixtures__/allocations.json | 12 +-
.../__tests__/AllocationHistoryTab.test.tsx | 1 -
.../__tests__/AllocationMembersTab.test.tsx | 1 -
.../__tests__/AllocationOverviewTab.test.tsx | 1 -
.../__tests__/AllocationUsageTab.test.tsx | 1 -
.../allocations/__tests__/AllocationsList.test.tsx | 1 -
.../core/allocations/__tests__/api.test.ts | 5 +-
web/src/features/core/allocations/api.ts | 13 +-
.../allocations/components/AllocationDetail.tsx | 64 ++++--
.../components/AllocationMembersTab.tsx | 6 +-
web/src/features/core/allocations/queries.ts | 16 +-
.../__fixtures__/cluster-accounts.json | 18 --
.../core/cluster-accounts/__tests__/api.test.ts | 2 -
.../components/ClusterAccountBadge.tsx | 3 +-
.../core/clusters/__fixtures__/cluster-users.json | 24 +--
.../projects/__tests__/ProjectMembersTab.test.tsx | 7 +-
.../core/projects/components/ProjectMembersTab.tsx | 8 +-
web/src/features/core/users/api.ts | 4 +
.../core/users/components/PendingEmailField.tsx | 61 ++++++
.../core/users/components/PermissionsDrawer.tsx | 4 +
web/src/features/core/users/queries.ts | 10 +
web/src/mocks/handlers/allocations.ts | 12 --
web/src/mocks/handlers/privileges.ts | 3 -
web/src/shared/casl/abilities.ts | 3 -
web/src/shared/casl/permissions.ts | 6 -
86 files changed, 780 insertions(+), 1238 deletions(-)
rename internal/db/migrations/{000010_subscription_sync.down.sql =>
000010_deactivation.down.sql} (92%)
copy internal/db/migrations/{000002_compute_clusters.down.sql =>
000010_deactivation.up.sql} (79%)
delete mode 100644 internal/db/migrations/000010_subscription_sync.up.sql
delete mode 100644 internal/db/migrations/000011_deactivation.down.sql
delete mode 100644 internal/db/migrations/000011_deactivation.up.sql
delete mode 100644 pkg/service/connector_settle.go
delete mode 100644 pkg/service/connector_settle_integration_test.go
delete mode 100644 pkg/service/membership_sweep.go
delete mode 100644 pkg/service/membership_sweep_integration_test.go
create mode 100644 web/src/features/core/users/components/PendingEmailField.tsx