Skip to content

VCST-5317: Hide locked organizations from the header org switcher - #192

Merged
DmitryGrishinVirtoworks merged 5 commits into
devfrom
feat/VCST-5317
Sep 11, 2026
Merged

DmitryGrishinVirtoworks merged 5 commits into
devfrom
feat/VCST-5317

Conversation

@DmitryGrishinVirtoworks

@DmitryGrishinVirtoworks DmitryGrishinVirtoworks commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Description

GraphQL and e2e regression tests verifying the header org switcher shows a locked organization as disabled (present in the list + isLockedForCurrentUser: true) rather than excluded - covers VCST-5317 AC-1/2/3/5/6.

REST lock/unlock organization-membership operations and a shared lock_membership fixture (available to e2e/graphql/restapi suites) to set up the locked state.

REST regression test (tests/restapi/platform/test_organization_login_fallback.py) for the related login fix in vc-module-customer#316: a password sign-in with a stale organization_id must still succeed once every organization the user belongs to is locked, instead of failing with user_is_locked_in_organization.

# Conflicts:
#	restapi/types/__init__.py
#	tests/e2e/frontend/test_account_menu_organizations.py
…ersions with the fix

Customer 3.1024.0 and ProfileExperienceApiModule 3.1018.0 include the
isLockedForCurrentUser field and the login-fallback fix this story's tests
depend on; CI was still installing the older pinned versions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@DmitryGrishinVirtoworks
DmitryGrishinVirtoworks merged commit 06f04e4 into dev Sep 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant