Project page badges - handle case when user doesn't have access to compliance center

In #479801 (closed) we refactored project page badges into standard one. The edge-case when user doesn't have access to the compl center was not handled properly - instead of not showing badges at all we rather should hide the action.

Problem

Currently we only show compliance badge on project details page to certain roles, it creates inconsistent behaviours and confuses users

Solution

Always show badge, and based on roles, the popover content is different: follow the design On_details_page

Edited Dec 10, 2024 by Camellia X Yang
Assignee Loading
Time tracking Loading