Solved
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Hey,
This path is the one that dictates the button from the action bar menu and you should overwrite it as well: /libs/dam/gui/content/assetdetails/jcr:content/actions/adhocassetshare/granite:rendercondition
This is working fine for me

Hope this helps
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.