[MM-30539] New renewal link logic (#16539)

* New renewal link logic

Endpoint and logic that returns the renewal link to be used to start the
license renewal process.

* Limit access for restricted sysadmins

* Include active users in the renewal token
Этот коммит содержится в:
Mario de Frutos Dieguez
2020-12-18 16:40:46 +01:00
коммит произвёл GitHub
родитель e057e5b10b
Коммит 94fe01dc1d
27 изменённых файлов: 1867 добавлений и 13 удалений

Просмотреть файл

@@ -1572,6 +1572,10 @@
"id": "api.license.request-trial.bad-request.terms-not-accepted",
"translation": "You must accept the Mattermost Software Evaluation Agreement and Privacy Policy to request a license."
},
{
"id": "api.license.request_renewal_link.app_error",
"translation": "Error getting the license renewal link"
},
{
"id": "api.license.request_trial_license.app_error",
"translation": "Unable to get a trial license, please try again or contact with support@mattermost.com."
@@ -4714,6 +4718,18 @@
"id": "app.job.update.app_error",
"translation": "Unable to update the job."
},
{
"id": "app.license.generate_renewal_token.app_error",
"translation": "Failed to generate a new renewal token."
},
{
"id": "app.license.generate_renewal_token.bad_license",
"translation": "This type of license doesn't support renewal token generation"
},
{
"id": "app.license.generate_renewal_token.no_license",
"translation": "No license present"
},
{
"id": "app.notification.body.intro.direct.full",
"translation": "You have a new Direct Message."