Can be tested on in-portal install with in-commerce module.
1. In gc unit add 'show_mode' => smDEBUG to section in-commerce:gift-certificates definition
2. Enable debug mode and check tab visibility (E-commerce/Discounts & Certificates)
3. Disable debug mode and check this tab is hidden