I have an Office application add-in that has various controls that are made visible (or not) under specific configurations via getVisible callbacks.
When they are hidden, it's because the function is not available to the user.
However, I've discovered that regardless of the state of the controls, they ALL appear in the backoffice view here:
File / Options / Customize Ribbon and then change the Choose commands from: drop down to All Commands
The obvious impact is that users can circumvent the add-in's code, making it seemingly impossible to have a single code base for an add-in deployed under various configurations. At it's worst, this appears to be a major security loophole.
Is there a way to prevent this behaviour?