Skip to content

Hotfix 6.3.x sup 19628#827

Open
plyhun wants to merge 4 commits into
hotfix-6.3.xfrom
hotfix-6.3.x-sup-19628
Open

Hotfix 6.3.x sup 19628#827
plyhun wants to merge 4 commits into
hotfix-6.3.xfrom
hotfix-6.3.x-sup-19628

Conversation

@plyhun

@plyhun plyhun commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Parameters(name = "{index}: user ID {0}")
public static Collection<Object[]> data() {
// 1 for system, 3 for super admin
return List.of(new Object[] { 1 }, new Object[] { 3 });

@plyhun plyhun Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am a bit worried that most of our data manipulation tests use system group, and not the Super Admin one, whose possibilities are limited.

await tab.click();
const actionButtons = page.locator('gtx-group-detail gtx-tab[data-id="subgroups"] .entity-table-actions-bar');
await actionButtons.waitFor();
expect(actionButtons.locator('.table-action-button button.btn').filter({ hasText: 'Neue Untergruppe erstellen' })).toBeVisible();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I do remember using data-* instead of text content. Somehow they are not working for my setup, as expected :(

get(userId: number): Observable<Group<Raw>> {
return this.api.group.getGroup(userId).pipe(
return this.api.group.getGroup(userId, { perms: true }).pipe(
tap((res: GroupResponse) => this.permissions.storePermissions(AccessControlledType.GROUP_ADMIN, res.group.id, res.perms || GcmsPermission.VIEW)),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This obviously won't work without backend changes.

@plyhun plyhun requested review from deckdom and npomaroli July 2, 2026 15:18
@plyhun plyhun self-assigned this Jul 2, 2026
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