Skip to content

[Task] FEAT-USER-GROUPS-10: My Groups view — read list + self-remove #1575

Description

@sven1103-agent

Parent Story

#1568

Requirement IDs

GROUP-R-05, GROUP-R-03, GROUP-R-02, GROUP-R-04

Description

Implement the "My Groups" view as a new settings-hub section (mirrors UserProfileMain/SettingsSection):

  • New @Route("settings/groups") view MyGroupsMain + MyGroupsComponent with layout SettingsMainLayout.
  • Add a "Groups" tab to SettingsNavigationComponent via addTab("Groups", VaadinIcon.USERS, MyGroupsMain.class).
  • Read memberships via GroupInformationService.listMyGroups(currentUserId); render each group's name, description, type badge (ORG/ADHOC), and my internal role badge.
  • MEMBER rows: self-remove wired to GroupService.removeMembership (auto-dissolve handled in the domain layer).
  • OWNER/MANAGER rows: management actions rendered but disabled with a tooltip ("Available in an upcoming update — FEAT-USER-GROUPS-04").
  • ORG rows: membership-only info, no owner-equivalent controls (structural AC 5).

Acceptance Criteria (from parent Story)

From parent Story #1568:

  • AC 1 — list with name, description, my internal role; groups without membership do not appear (target).
  • AC 4 — plain member can self-remove but performs no management actions (target).
  • AC 5 — org-group rows show membership-appropriate actions only, no owner-equivalent admin controls (structural placeholder).

Technical Notes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestready2codeReady for implementation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions