Detected licenses should not use a grey circle
Summary
When new licenses are detected in a Merge Request, they are rendered in the License Widget. But when the user doesn't have the necessary rights to see the configuration, we display grey circles. The problem comes from the fact that we're using the same grey circle when GitLab doesn't know what to do a license (ie: needs user input). We should not use these circles in this case, as they would have 2 different meanings (need user input / data not available). This is confusing for the users.
Steps to reproduce
Browse gitlab-examples/security/security-reports!2 (closed) in anonymous mode.
What is the current bug behavior?
Always grey circles when browsing anonymously. When the user is logged-in, could be grey, green, or red.
What is the expected correct behavior?
Different states should have different rendering.
Relevant logs and/or screenshots
Possible fixes
Remove grey circles when unauthorized
Design solution
- We should allow ALL users to see License Management statuses
- We should allow ALL users to see if a License Management status is unkown via the Grey icon
All users (Known License Information) | All Users (Unknown License Information) |
---|---|
![]() |
![]() |