Hide LDAP Sync tab on Roles and permissions page for Premium license

What does this MR do and why?

For self-managed GitLab, when the GitLab instance is configured with a LDAP server and the custom_admin_roles feature flag is enabled, going to Admin area -> Settings -> Roles and permissions will show a tab bar with a LDAP Synchronization tab:

Roles and permissions page LDAP Synchronization tab
ksnip_20250805-231007 ksnip_20250805-232255

The LDAP sync requires access to the custom roles feature, which is Ultimate-only. Premium plans can access the Roles and permissions page but not to custom roles, so the LDAP sync tab should be unavailable to Premium plans.

This MR fixes a bug where the tab bar with the LDAP Synchronization tab was shown for Premium plans. It now hides the tab bar altogether. Note that this is a display-only bug, clicking on the tab will show an error because backend prevents the feature from being used:

Before After (no tab bar)
ksnip_20250805-233643 ksnip_20250805-233716

How to set up and validate locally

Acquire a Premium license following this handbook page, then follow this video guide:

2025-08-06_01-13-44

Related to #546035 (closed)

Edited by Daniel Tian

Merge request reports

Loading