fixes #2716 error in discovery plugin menu and user without provisioning permissions