## Is your feature request related to a problem?

I want to be able to disable the sharing link for extra security

## Describe the solution you'd like

A toggle to disable the sharing link in the sharing modal

## Describe alternatives you've considered

-

## Additional context



#### *Thank you* for your feature request – we love each and every one!

posthog/api/test/test_user.py
TESTS_API = True
    ENDPOINT: str = "/api/user/test_slack_webhook/"
    def send_request(self, payload):
        return self.client.post(self.ENDPOINT, payload, content_type="application/json")
    def test_slack_webhook_no_webhook(self):
        response = self.send_request({})
        self.assertEqual(response.status_code, 200)
        self.assertEqual(response.json()["error"], "no webhook URL")
    def test_slack_webhook_bad_url(self):
        response = self.send_request({"webhook": "blabla"})
        self.assertEqual(response.status_code, 200)
        self.assertEqual(response.json()["error"], "invalid webhook URL")
    def test_slack_webhook_bad_url_full(self):
        response = self.send_request({"webhook": "http://localhost/bla"})
        self.assertEqual(response.status_code, 200)
        self.assertEqual(response.json()["error"], "invalid webhook URL")
class TestLoginViews(BaseTest):
    def test_redirect_to_preflight_when_no_users(self):
        User.objects.all().delete()
        response = self.client.get("/", follow=True)
        self.assertRedirects(response, "/preflight")