I want to show "Site Contents" and "Site Settings" options in the Gear button only to admins and not from any other users.
For achieving this, I tried Changing permission string value from viewformpages to ManageWeb, managepermissions etc. By doing this its not working for Home page, but is working fine in other site pages.
Any help would be much appreciated!!