mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Update config for kanboard v1.0.22
This commit is contained in:
parent
9b8806775a
commit
aeff47e5d0
1 changed files with 42 additions and 38 deletions
|
@ -28,19 +28,6 @@ define('MAIL_SMTP_ENCRYPTION', null); // Valid values are "null", "ssl" or "tls"
|
||||||
// Sendmail command to use when the transport is "sendmail"
|
// Sendmail command to use when the transport is "sendmail"
|
||||||
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');
|
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');
|
||||||
|
|
||||||
// Postmark API token (used to send emails through their API)
|
|
||||||
define('POSTMARK_API_TOKEN', '');
|
|
||||||
|
|
||||||
// Mailgun API key (used to send emails through their API)
|
|
||||||
define('MAILGUN_API_TOKEN', '');
|
|
||||||
|
|
||||||
// Mailgun domain name
|
|
||||||
define('MAILGUN_DOMAIN', '');
|
|
||||||
|
|
||||||
// Sendgrid API configuration
|
|
||||||
define('SENDGRID_API_USER', '');
|
|
||||||
define('SENDGRID_API_KEY', '');
|
|
||||||
|
|
||||||
// Database driver: sqlite, mysql or postgres (sqlite by default)
|
// Database driver: sqlite, mysql or postgres (sqlite by default)
|
||||||
define('DB_DRIVER', 'mysql');
|
define('DB_DRIVER', 'mysql');
|
||||||
|
|
||||||
|
@ -74,6 +61,10 @@ define('LDAP_SSL_VERIFY', true);
|
||||||
// Enable LDAP START_TLS
|
// Enable LDAP START_TLS
|
||||||
define('LDAP_START_TLS', false);
|
define('LDAP_START_TLS', false);
|
||||||
|
|
||||||
|
// By default Kanboard lowercase the ldap username to avoid duplicate users (the database is case sensitive)
|
||||||
|
// Set to true if you want to preserve the case
|
||||||
|
define('LDAP_USERNAME_CASE_SENSITIVE', false);
|
||||||
|
|
||||||
// LDAP bind type: "anonymous", "user" or "proxy"
|
// LDAP bind type: "anonymous", "user" or "proxy"
|
||||||
define('LDAP_BIND_TYPE', 'anonymous');
|
define('LDAP_BIND_TYPE', 'anonymous');
|
||||||
|
|
||||||
|
@ -84,43 +75,56 @@ define('LDAP_USERNAME', null);
|
||||||
// LDAP password to use for proxy mode
|
// LDAP password to use for proxy mode
|
||||||
define('LDAP_PASSWORD', null);
|
define('LDAP_PASSWORD', null);
|
||||||
|
|
||||||
// LDAP account base, i.e. root of all user account
|
// LDAP DN for users
|
||||||
// Example: ou=People,dc=example,dc=com
|
// Example for ActiveDirectory: CN=Users,DC=kanboard,DC=local
|
||||||
define('LDAP_ACCOUNT_BASE', '');
|
// Example for OpenLDAP: ou=People,dc=example,dc=com
|
||||||
|
define('LDAP_USER_BASE_DN', '');
|
||||||
|
|
||||||
// LDAP query pattern to use when searching for a user account
|
// LDAP pattern to use when searching for a user account
|
||||||
// Example for ActiveDirectory: '(&(objectClass=user)(sAMAccountName=%s))'
|
// Example for ActiveDirectory: '(&(objectClass=user)(sAMAccountName=%s))'
|
||||||
// Example for OpenLDAP: 'uid=%s'
|
// Example for OpenLDAP: 'uid=%s'
|
||||||
define('LDAP_USER_PATTERN', '');
|
define('LDAP_USER_FILTER', '');
|
||||||
|
|
||||||
// Name of an attribute of the user account object which should be used as the full name of the user
|
// LDAP attribute for username
|
||||||
define('LDAP_ACCOUNT_FULLNAME', 'displayname');
|
|
||||||
|
|
||||||
// Name of an attribute of the user account object which should be used as the email of the user
|
|
||||||
define('LDAP_ACCOUNT_EMAIL', 'mail');
|
|
||||||
|
|
||||||
// Name of an attribute of the user account object which should be used as the id of the user. (optional)
|
|
||||||
// Example for ActiveDirectory: 'samaccountname'
|
// Example for ActiveDirectory: 'samaccountname'
|
||||||
// Example for OpenLDAP: 'uid'
|
// Example for OpenLDAP: 'uid'
|
||||||
define('LDAP_ACCOUNT_ID', '');
|
define('LDAP_USER_ATTRIBUTE_USERNAME', 'uid');
|
||||||
|
|
||||||
// LDAP Attribute for group membership
|
// LDAP attribute for user full name
|
||||||
define('LDAP_ACCOUNT_MEMBEROF', 'memberof');
|
// Example for ActiveDirectory: 'displayname'
|
||||||
|
// Example for OpenLDAP: 'cn'
|
||||||
|
define('LDAP_USER_ATTRIBUTE_FULLNAME', 'cn');
|
||||||
|
|
||||||
// DN for administrators
|
// LDAP attribute for user email
|
||||||
// Example: CN=Kanboard Admins,CN=Users,DC=kanboard,DC=local
|
define('LDAP_USER_ATTRIBUTE_EMAIL', 'mail');
|
||||||
|
|
||||||
|
// LDAP attribute to find groups in user profile
|
||||||
|
define('LDAP_USER_ATTRIBUTE_GROUPS', 'memberof');
|
||||||
|
|
||||||
|
// Allow automatic LDAP user creation
|
||||||
|
define('LDAP_USER_CREATION', true);
|
||||||
|
|
||||||
|
// LDAP DN for administrators
|
||||||
|
// Example: CN=Kanboard-Admins,CN=Users,DC=kanboard,DC=local
|
||||||
define('LDAP_GROUP_ADMIN_DN', '');
|
define('LDAP_GROUP_ADMIN_DN', '');
|
||||||
|
|
||||||
// DN for project administrators
|
// LDAP DN for managers
|
||||||
// Example: CN=Kanboard Project Admins,CN=Users,DC=kanboard,DC=local
|
// Example: CN=Kanboard Managers,CN=Users,DC=kanboard,DC=local
|
||||||
define('LDAP_GROUP_PROJECT_ADMIN_DN', '');
|
define('LDAP_GROUP_MANAGER_DN', '');
|
||||||
|
|
||||||
// By default Kanboard lowercase the ldap username to avoid duplicate users (the database is case sensitive)
|
// Enable LDAP group provider for project permissions
|
||||||
// Set to true if you want to preserve the case
|
// The end-user will be able to browse LDAP groups from the user interface and allow access to specified projects
|
||||||
define('LDAP_USERNAME_CASE_SENSITIVE', false);
|
define('LDAP_GROUP_PROVIDER', false);
|
||||||
|
|
||||||
// Automatically create user account
|
// LDAP Base DN for groups
|
||||||
define('LDAP_ACCOUNT_CREATION', true);
|
define('LDAP_GROUP_BASE_DN', '');
|
||||||
|
|
||||||
|
// LDAP group filter
|
||||||
|
// Example for ActiveDirectory: (&(objectClass=group)(sAMAccountName=%s*))
|
||||||
|
define('LDAP_GROUP_FILTER', '');
|
||||||
|
|
||||||
|
// LDAP attribute for the group name
|
||||||
|
define('LDAP_GROUP_ATTRIBUTE_NAME', 'cn');
|
||||||
|
|
||||||
// Enable/disable Google authentication
|
// Enable/disable Google authentication
|
||||||
define('GOOGLE_AUTH', false);
|
define('GOOGLE_AUTH', false);
|
||||||
|
|
Loading…
Reference in a new issue