Front End - views and controllers

The framework provides three pages with their controllers. You'll need to change names and some links on some of them, but most of it can be used as is (look for 'TODO' in the generated code).

 

Connectors are branded with the color palette of the app they connect with, so you'll need to customise logos and css. The easy way to do it is to change variables in variables.sass, see mainly the "color palette" section, but you can also customise any sass file and add your own rules if needed.

Some connectors may require specific front end feature (new page, additional form...) ; you can add them as needed in the relevant views and controllers.

 

Functions that the front end must provide to users:

  • Authentication with Maestrano
  • Authentication with the external application
  • Customize which entities are synchronized
  • Force a synchronization
  • Access synchronizations history
  • Access the list of mapped entities, with relevant information (human readable name, error messages, ...)

 

Each Maestrano (or any other tenant) user has an access level that is retrieved during the oauth process and stored in the session. Configuration changes and critical features are accessible by admin users only.