I have a lightning component that is used to create and edit Metadata using Metadata API Deployment.I have created a System admin user for this because only System Admin user has "Author Apex" Permission which is required for this .

Now I dont want the User to see Setup Button which can be done by Unchecking "View Setup and Configuration Permission" but I need that permission. So is there another way to do it.

enter image description here

  • I dont think its possible, for disabling setup the permission, you mentioned, should be unchecked. Commented Dec 23, 2020 at 12:34

1 Answer 1


You can't have it both ways. The View Setup and Configuration permission is required to view any metadata at all, much less update it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .