Page tree
Skip to end of metadata
Go to start of metadata

This step is not required when using Dashboards 1.x and can be skipped.

This action must be completed using the url http://localhost to access the Dashboard, i.e. from the same machine where the Dashboard is deployed. This is a security mechanism and attempting this action from another host on the network will fail.

With a graphical user interface

The first person to log in to a CAST Dashboard following User authentication configuration will be confronted with the following message - this indicates that the user that has logged in is not permitted to access any data:

The first step to resolve this is to assign one user the ADMIN role which has permission to access all data and configuration settings. To do so and assuming that the current logged in user should be granted the ADMIN role, click the user name and select Configuration from the drop down list:

The following message will then be displayed (this message is displayed when the system detects that there are no users that have been granted the ADMIN role):

Clicking the BECOME ADMIN button will grant the ADMIN role to the currently logged in user and then the login to the Dashboard will proceed. You should then proceed with granting roles to other users as necessary for your deployment - see User roles.

Without a graphical user interface (RestAPI)

If you have deployed only the standalone RestAPI, you must action the "become admin" step using the built-in RestAPI client. This is accessible from the following URL:

WAR file deployment:
http://my_host:<port>/<webapp>/static/default.html

ZIP file deployment:
http://my_host:<port>/static/default.html

First login with the user that will become the admin:

Now change the HTTP method to PUT, enter a specific URI (user/admin-role) and submit:

This should return the following which indicates that the currently logged in user now has the ADMIN role:

You should then proceed with granting roles to other users as necessary for your deployment - see User roles.


  • No labels