Add changes to fix hide ee attr for user namespaces
What does this MR do and why?
Previously, the code only filtered out unlicensed widgets based on the resource parent. Now, it specifically checks if the namespace is a user namespace (personal namespace), and if so, it excludes all licensed widgets regardless of license status. For group and project namespaces, it continues to use the existing logic to filter out unlicensed widgets.
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
Similarly we can see for the work_item detail page too adding only the after part for that
How to set up and validate locally
Note: The issue is very specific. It occurs when the user has an Ultimate license and the project is located in their personal space.
- Make sure you are running licensed version of GDK
- Create a project in personal namespace
- Validate that you should not see weight and iterations fields while creating a new issue on the project
- Validate that you should not see weight and iterations fields while view the created issue.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #537033 (closed)


