sourcegraph/sourcegraph-public-snapshot

(P2) Allow admins to configure in site config whether users can configure custom commands at all, or can only use the commands we ship.

Open

#58,630 opened on Nov 28, 2023

 (0 comments) (0 reactions) (1 assignee)Go (1,374 forks)auto 404
good first issue

Repository metrics

Stars
 (10,290 stars)
PR merge metrics
 (PR metrics pending)

Description

Very similar to #58631 - but allow admins to configure between the following options:

  • Users can use commands (covered by #58631 )
  • Users CANNOT use commands (covered by #58631 )
  • Users can use commands, but CANNOT create their own custom commands (must use the default Cody ones we ship)

Bonus points if we can allow admins to create custom commands, but not users themselves.

Contributor guide