Skip to content

feat(engine): enable specific SE (hash) tokens to access the Platform (#486)

Artyom Kartasov requested to merge 486-se-platform-token into master

Description

Enable specific SE tokens to access the Platform.

After discussing with @NikolayS, it was decided to use the AccessToken field to detect the generic (SE) version and register the instance.

There are some types of available tokens at the moment:

  • PersonalType = "personal"
  • AdminType = "admin"
  • HashType = "hash", <- a new type for SE instances

SE is defined as the instance which has:

  • non-empty (DLE_COMPUTING_INFRASTRUCTURE) (as it was before)
  • valid accessToken of the hash type (allowed even an expired token, running is not blocking so far)

Related issue

#486

Examples

Checklist

  • MR description has been reviewed
  • MR changes are functionally tested
  • MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed & DOCS ARE ADJUSTED (reference doc, etc)
  • MR does NOT have UI changes OR there are UI changes and they have been reviewed & UX IS REVIEWED

Closes #486

Merge request reports