Include project memberships for AI check
What does this MR do and why?
Related issue: #417226 (closed)
Include project memberships for AI check
This includes project memberships when checking if a user has access to AI features.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests. Plans: cold cache:
Time: 25.006 ms
- planning: 10.704 ms
- execution: 14.302 ms
- I/O read: 13.843 ms
- I/O write: 0.000 ms
Shared buffers:
- hits: 12 (~96.00 KiB) from the buffer pool
- reads: 12 (~96.00 KiB) from the OS file cache, including disk I/O
- dirtied: 0
- writes: 0
link: https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/20404/commands/66650
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Gosia Ksionek