Other advanced functions

Access to advanced functions is determined by role.

The sysadmin and admin users have access to advanced functions that other users do not.

Note that this section will cover the advanced function available to each role.

Prerequisite

To carry out an advanced function, all users must first obtain a JWT token.

Obtain a JWT token:

tymlez-dev auth getJWTToken --username=<YOUR USER HERE> --password=<GENERATED PASSWORD FROM OUTPUT>

Role - Sysadmin

Only the sysadmin is able to view the status of a container:

tymlez-dev utils getContainerStatus

As well, only the sysadmin is able to change the status of a container:

tymlez-dev utils updateContainerStatus

Role - Admin

Only the admin is able to update the plugin settings.

Currently, the only plugin setting that can be set is for ng-rt-digitalAsset.

Additionally, the key must be set to routeValidation.

The value is either true or false.

If the admin wants to enable authentication for posting to the blockchain, the admin can set the value to true:

tymlez-dev utils updatePluginSettings --plugin=ng-rt-digitalAsset --key=routeValidation --value=true

If the admin wants to disable authentication for posting to the blockchain, the admin will then set the value to false:

tymlez-dev utils updatePluginSettings --plugin=ng-rt-digitalAsset --key=routeValidation --value=false

All roles

All users can carry out the following functions:

  • Change their passwords:
tymlez-dev utils changePassword --username=<USERNAME> --oldPassword=<OLD_PASSWORD> --newPassword=<NEW_PASSWORD>
  • Add an app key for a specific plugin, such as ng-rt-digitalAsset:
tymlez-dev utils addAppKey --username=admin --plugin=ng-rt-digitalAsset