Custom Options Module

Module Permission According to Roles (Sysadmin, Administrator and Assistant)

Module	Create	Edit	Show	Role
Options	YES	YES	YES	Sysadmin
NO	NO	NO	Administrator
NO	NO	NO	Assistant

Module Description

Custom Options are used for options that are used by very few clients, for testing, for debugging etc. Beside that, all custom templates for accounts are stored in the custom_options table.

The table structure allows to set cascading option values for
all clients (mandant_id = 0) / specific clients (mandant_id = client_id)
all entries of a certain type (e.g. table_name = t_standort, table_row_id = 0) / specific (for certain table_row_id)
where more specific options overwrite more general options.

Options

Apart from the following list, options can be set/checked manually or in the Options Module

Also check inc/options.inc.php /getOptionValue()
/lib/SyCesDatabase.py/ setOption(), getOption()

Option name	set in	Description
debug_ticket_aruba	-	write debug messages to error_log (self-ticket)
debug_ticket_bintec	-	write debug messages to error_log (self-ticket)
echo_ticket_aruba	-	echo debug messages on screen, in production mode never as general option, only for own location!!
echo_ticket_bintec	-	echo debug messages on screen, in production mode never as general option, only for own location!!
fbpageid	module/location.inc.php	facebook account id to be shown on login (self-ticket)
max_mb_filemanager	-	max. upload size in filemanager
monitoring	module/location.inc.php	not in use currently, meant for pinging of routers
restrict_registration	module/location.inc.php	time to wait before a new registration is allowed (self-ticket)
sms_lox24	include/sms.inc.php	Options for sms provider lox24
template	module/account.inc.php	custom templates for accounts, shown by nav.inc.php
tariff_id_api	-	used in jsonapi.py as default tariff
token_handling	module/location.inc.php	login using token with or without need to accept terms of useage
username_type	-	used in jsonapi.py as default username_type
validity	module/client.inc.php	default for how many days acccounts remain valid
validity	module/location.inc.php	default for how many days acccounts remain valid