CTLive Manager
CTLive provide a web application called CTLive Manager (CTLiveMGR) used to change settings of the application.
It’s available to the same address of CTLive poiting to /ctlivemgr/api-docs. For cloudando installation the full URL is:
https://ctlive.cloudando.com/ctlivemgr/api-docs
At this stage, the User Interface is very poor, it’s a swagger 3.0 user interface for rest api, but the intention is to provide a more traditional, user friendly user interface. Anyway, it’s already possible to change every single parameter of the application.
CTLiveMGR allows to change the following ogjects:
General Settings
User
Widget
Service
DataCollections
CustomDocument
For each of them there is a set of CRUD API in order to:
Create a new item
Read an item
Update an item
Delete an existing item
Authentication
Access to this interface is limited only to registered users. Authentication is performed with basic authentication, but in the next release it could be extended with a single sign-on mechanism such as JWT.
Roles
Access to the application is restricted based on the role of the user.
The roles available are:
Roles | Permissions |
---|---|
Admin | Can read/write General Settings and Users |
Designer | Can read/write widget, service, datacollection, custom document |
Viewer | Can ready only widget, service, datacollection, custom document |
Furthermore, a user is allowed to change his/her own password, Admin can always change any user’s password.
A user can have a list of roles, e.g a user can be both an admin and a designer.
The system is usually provided with only one user, admin, with a default password.
Accessing with that user, it’s suggested first to change password and then create any other needed user.
If you loose admin password you need to access to the DB to change it (passwords are saved hashed for security reason using bcrypt protocol, so it’s impossible to known the original password from the hash version).
Login as Admin, you can create all needed users.