You need to sign in to do that
Don't have an account?

How to restrict user from deployment using sfdx command/deploy option in VS code
Hi All,
I want to restrict user from deploying components. If my user only use SF means i can restrict them from profiles just by uncheck the inbound and outbound setup options but in my case users are using VS code for the implementation and they directly deloy from it. Can we restrict this?
Thanks in advance.
Regards,
Sami
I want to restrict user from deploying components. If my user only use SF means i can restrict them from profiles just by uncheck the inbound and outbound setup options but in my case users are using VS code for the implementation and they directly deloy from it. Can we restrict this?
Thanks in advance.
Regards,
Sami
There is only one way to do this.
You have to remove the necessary permissions for that user profile to restrict him to deploy.
That is the only way.
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.
Access to deploy can be blocked by removing permission "Modify Metadata Through Metadata API Functions" on Profile