OS4X Core web interface

From OS4X
Jump to navigation Jump to search

Configuration

The OS4X Core administrative web interface is configured via the file

database.inc.php

where the first lines are intersting only:

<?php
// Since 21.10.2006, you have two options to configure your web interface:
// - by pointing to an OS4X configuration file (like "/etc/os4x.conf")
// - by typing in the database connection values directly
// The type of used configuration is defined in the variable "config_type" using either "file" or "direct".
// Using the "file" method only works if the web interface is located at the same host as OS4X is running!

$config_type="file";
// $config_type="direct";

$config_file="/etc/os4x.conf";

// confguration part for direct configuration: just uncomment the following 5 lines and change values as needed
// $mysql_host = "localhost:3306:/tmp/mysql.sock";
// $mysql_user = "os4x";
// $mysql_password = "os4x";
// $DBName = "os4x";
// $tableprefix="os4x_";
// $serverID = 0;

// enable this flag if a user-sight of this web interface is wanted
// valid values: true/false
// $userview=true;
// $userview=false;

enabling user view

"User view" is a special mode of the web interface where all administrative operations are disabled and only interesting views of the OS4X web interface are enabled.

By setting the variable "$userview" to "true", the following components change:

  • the header of the web interface disables interacting with the daemons (starting, stopping, dumping logs etc.)
  • Configuration is viewable, but not changeable
  • CAPI configuration is viewable, but not changeable. Scanning new devices is disabled.
  • OFTP2 cipher suites and their configurations (including variable definitions) are disabled completely.
  • Tools (database backup, license update & overview, automatic certificate generation) are disabled completely.
  • Partner overview only contains basic OFTP parameters and no functionality to create, edit and/or delete entries. OS4X Enterprise functionality is disabled. Links to statistics for partners are enabled.
  • Send log doesn't contain links to edit partner parameters any more.
  • Receive log doesn't contain links to edit partner parameters any more.
  • xERP log doesn't contain links to edit partner parameters any more.
  • Script logs doesn't support restarting events any more.
  • Send queue doesn't contain any editing functionality. Creating new entries is disabled. Deleting is enabled. Mass-actions are disabled. Aborting active transfers is enabled. Viewing the progress is enabled.
  • Receive queue has no delete- and abort-functionality. Link to edit partner parameters removed.
  • All additional OS4X Enterprise specific links have been removed.
  • all unlinked PHP scripts contain a check for accessibility. In user view mode, the abort with the message "You are not allowed to view this page!".
  • Automatic certificate import behaviour is unavailable