You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
{
|
|
|
|
$conf->{'locationRules'}->{"config.$domain"} = {
|
|
'(?#001common)^/server-common' => 'unprotect',
|
|
'(?#010phpki)^/phpkisso/ca' => '$groups =~ /\\b(equipe|admins)\\b/ and ($localAccess or $externalSSLAccess)',
|
|
'default' => 'deny',
|
|
'(?#005usermanager)^/user(/cgi\\-bin/|\\-manager)' => '$groups =~ /\\b(equipe|admins)\\b/ and ($localAccess or $externalSSLAccess)'
|
|
} unless $conf->{'locationRules'}->{"config.$domain"};
|
|
|
|
$conf->{'exportedHeaders'}->{"config.$domain"} = {
|
|
'Auth-User' => '$uid',
|
|
} unless $conf->{'exportedHeaders'}->{"config.$domain"};
|
|
|
|
$conf->{'applicationList'}->{'020utils'}->{'usermanager'} = {
|
|
'options' => {
|
|
'logo' => 'configure.png',
|
|
'name' => 'Configuration',
|
|
'description' => 'Configuration iPasserelle',
|
|
'uri' => "https://config.$domain/user-manager",
|
|
'display' => 'auto'
|
|
},
|
|
'type' => 'application'
|
|
} unless $conf->{'applicationList'}->{'020utils'}->{'usermanager'};
|
|
|
|
}
|
|
|