Hello everybody. I wanted to set password on my site, so I want to buy Pro plan. But then I found that I will be charged for each git contributor so the cost doubles - which is too much for me. There are freelancer worker that sometimes commits in my repo, he doesn’t have any access to netlify and I don’t want to be charged becuase of him - any tips how to buy Pro plan and exclude the person from git contributors?
Sorry, we’re not going to share tips and tricks on how to bypass our paid features. Someone else might and chances are there are already some posts about it online.
Is it possible to remove manually git contributor?
You can remove inactive ones: Manage team members | Netlify Docs
Also, you can use Edge Functions to implement a custom password protection, that’s available on the Free plan.
Also, you can use Edge Functions to implement a custom password protection, that’s available on the Free plan.
Any tips how to do that?
You can draw some inspiration from this code: tejal/netlify/edge-functions/password.ts at v9 · hrishikesh-k/tejal
Provided link returns 404. Is it kind of middleware which works like basic-auth? Doesn’t it paid only feature? And isn’t it impossible to get only one feature from pro plan?
It seems it was moved to here:
https://github.com/hrishikesh-k/tejal/blob/v9/netlify/edge-functions/utils/password.ts
Read the edge functions documentation here:
https://docs.netlify.com/edge-functions/overview/
Netlify’s built in ‘Site Protection’ options are paid only features, see their documentation here:
https://docs.netlify.com/security/secure-access-to-sites/site-protection/
That’s correct, you cannot get “only one feature from pro plan”.
The suggestion is that you can create your own password protection.
Hi, @playerro. You are only charged for Git contributors if you allow them to trigger deploys for your sites at Netlify. There is a setting you can set which will prevent their commits from triggering builds here unless you manually approve them.
If you tell Netlify not to allow them to trigger builds, we won’t bill you for them. They can still commit to you repo but they won’t trigger new builds at Netlify when they do so. Some team member (you, for example) would need to make a new commit or manually trigger a build before the site will see the changes they made.
There is more information about this here:
https://docs.netlify.com/site-deploys/overview/#require-manual-review-for-deploy-requests
Future builds at Netlify will use their commits but the commits themselves will not trigger a new build here.
Hi, I don’t have " Auto-approve deploys from non-team members." setting
This setting doesn’t exist on the Free or Starter tiers, as Git Contributors are not charged. However, you’ll see this option on the Pro tier.
So, if I buy Pro plan and set not to trigger deploy from anybody except me, I will not be charged for git contributors except me?
Hi there, this is correct! If your Git Contributor is merged with your Netlify team member, you will not be charged for that GC. Your total cost will still only be $19 per month.
Let me know if you have any other questions. Thanks!