Skip to content

Query Roles and Groups - #5680

Merged
greenbonebot merged 2 commits into
mainfrom
query-roles-and-groups
Oct 2, 2026
Merged

greenbonebot merged 2 commits into
mainfrom
query-roles-and-groups

Conversation

@bjoernricks

Copy link
Copy Markdown
Contributor

What

Add Query Hooks for Roles and Groups and use them for the UserDialog

Why

Better abstraction and single point for the data loading. At the end the UI should use query hooks (at least mostly) and no redux anymore.

References

Checklist

  • I have added tests for the changes
  • I have used the following LLMs/AI tools in this pull request:

Add react hooks for querying the groups and roles.
… and groups

Replace using the gmp layer directly by using the new query hooks inside
the user dialog to load the available groups and roles.
@bjoernricks
bjoernricks requested a review from a team as a code owner October 2, 2026 11:22
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 0bfdd86.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@greenbonebot
greenbonebot enabled auto-merge (rebase) October 2, 2026 11:22
@codecov

codecov Bot commented Oct 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.60%. Comparing base (ce7e8d1) to head (0bfdd86).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5680      +/-   ##
==========================================
+ Coverage   87.51%   87.60%   +0.09%     
==========================================
  Files        1304     1306       +2     
  Lines       34294    34302       +8     
  Branches    10291    10295       +4     
==========================================
+ Hits        30011    30051      +40     
+ Misses       3873     3844      -29     
+ Partials      410      407       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@greenbonebot
greenbonebot merged commit 38e8e2f into main Oct 2, 2026
25 checks passed
@greenbonebot
greenbonebot deleted the query-roles-and-groups branch October 2, 2026 12:34
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.

3 participants