45f80a0855
Any user who can log in via SSO but doesn't have one of the required entitlements will only ever see a listing of their own loans.
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
<?php
|
|
|
|
# Database info
|
|
$db_host = 'dbserver';
|
|
$db_user = 'dbname';
|
|
$db_pass = 'dbpassword';
|
|
$db_name = 'dbuser';
|
|
|
|
# Authentication
|
|
# Users must have one of these entitlements in order to be able to
|
|
# access the site. Users without any of the required entitlements
|
|
# get redirected to their own loan listing page.
|
|
$required_entitlements = array(
|
|
'urn:mace:swami.se:gmai:some-entitlement',
|
|
);
|
|
|
|
# Site language
|
|
$language = 'en';
|
|
|
|
# Site name
|
|
$name = 'My product tracker';
|
|
|
|
# Email subject prefix
|
|
# Will be prepended without change, so should probably end with a space
|
|
$email_subject_prefix = "System name: ";
|
|
|
|
# Address to use as the sender for reminder emails
|
|
$sender = 'noreply@example.com';
|
|
|
|
# Address to send cron error messages to
|
|
$error_address = 'root@example.com';
|
|
|
|
# Discard notifications
|
|
# If this is set to an email address, the system will send a notification
|
|
# there each time a product is discarded.
|
|
#$discard_notify = 'inventory-tracking@example.com';
|
|
$discard_notify = false;
|
|
|
|
# Directory to save attachments to
|
|
# Interpreted as absolute path if beginning with /,
|
|
# otherwise assumed to be relative to the application root.
|
|
# Must be writable by the web server.
|
|
# Does not need to be within the web root.
|
|
$files_dir = 'attachments';
|
|
|
|
?>
|