I gave read access to the users and contribute access for the admins. But I surprised that even the read users can see site contents in the gear icon. How to hide site contents or gear icon in sharepoint communication site (online) for UI Modern page for all users except admins or site owners?
I need explanation for the solution step by step