Unclear how to add license key from enforcement page
Created by: KattMingMing
- Sourcegraph version: 2.13
- Platform information: N/A
Steps to reproduce:
- Set up a server instance with an expired license key or use enterprise features without a license key.
- Navigate to the instance.
- You'll see
Expected behavior:
As the admin of the instance, I'd expect to be able to input my license key without needing to ssh into the instance and manually update the configuration file on disk.
When a site-admin navigates to Sourcegraph and the license is expired or they are missing a license key, we should still restrict access to other areas of the site, but allow the admin to add a new license key from this page. Either by adding a simple input box that updates the site config licenseKey
.
Actual behavior:
The user sees a small informational message directing them to about.sourcegraph.com.
From there, it's not explained how to update the license key once purchasing. This can result in the user thinking they are locked out of their instance and therefore downgrade to fix the problem since the only command on our docs is the docker run
.
- Users can ssh into the instance and update the config manually
- Currently undocumented behavior and not intuitive since the configuration process is done through the frontend.
- The admin is not always the person who has the most knowledge about how Sourcegraph was deployed on internal infrastructure making it problematic to manually update the config.