Skip to content

Gate access token creation in OSS and Free versions

Created by: unknwon

Currently, in the user settings page, there is the Access tokens page to CRUD access tokens that is used to interact with our GraphQL API outside our web app.

CleanShot 2022-07-06 at 10 00 44@2x

We want to:

  1. Disable the creation capability when there isn't a valid license supplied in the site config.
    • To make minimum effort and do it quickly when there is tight time pressure, we do not need to change any UI part but just return an error as the response to the create access token GraphQL request.
  2. Move the creation code logic out of OSS namespace (i.e. to enterprise/).
  3. Whether or not we are going to completely remove this page and disable existing uses of access tokens in non-paid version is waiting for a confirmation in the Slack thread.