message: Don't show Groups tab if user does not have query-groups role.
diff: @@ -247,6 +247,7 @@ const EditUserForm = ({ user, bruteForced, refresh }: EditUserFormProps) => {
  >
  <UserRoleMapping id={user.id!} name={user.username!} />
  </Tab>
  + {hasAccess("query-groups") && (
  <Tab
  data-testid="user-groups-tab"
  title={<TabTitleText>{t("common:groups")}</TabTitleText>}
  @@ -254,6 +255,7 @@ const EditUserForm = ({ user, bruteForced, refresh }: EditUserFormProps) => {
  >
  <UserGroups user={user} />
  </Tab>
  + )}
  <Tab
  data-testid="user-consents-tab"
  title={<TabTitleText>{t("consents")}</TabTitleText>}
  