Case : /content/dam/sample folder contains assest like .PNG, .JPG, .PDF, .SVG, .GIF, etc... and this folder contains a quick publish access for all users.
I would like to remove quick publish access for .PDF assests.
I have shared a solution in a similar question over here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-disable-hide-quick-... . Please refer to this. ( For more clarity, I'll recommend that you go through complete reply chain. ) Basically, we overlay the node which is responsible for providing the quick publish feature and add granite:renderCondition to hide it in case it is a pdf.
I have shared a solution in a similar question over here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-disable-hide-quick-... . Please refer to this. ( For more clarity, I'll recommend that you go through complete reply chain. ) Basically, we overlay the node which is responsible for providing the quick publish feature and add granite:renderCondition to hide it in case it is a pdf.