Here instructions to install the module into Lizmap Web Client.
Lizmap should be installed and should work, before installing the module.
This documentation is for Lizmap 3.4 or higher.
It is recommended to install the module with Composer, the package manager for PHP. But you can also install manually the sources.
- into
lizmap/my-packages
, create the filecomposer.json
(if it doesn't exist) by copying the filecomposer.json.dist
, and install the modules with Composer:
cp -n lizmap/my-packages/composer.json.dist lizmap/my-packages/composer.json
composer require --working-dir=lizmap/my-packages "jelix/multiauth-module"
- Then go into
lizmap/install/
and execute Lizmap install scripts :
php configurator.php multiauth
php installer.php
./clean_vartmp.sh
./set_rights.sh
- Get the last ZIP archive in the release page of the GitHub repository.
- Extract the archive and copy the
multiauth
directory in the Lizmap Web Client folderlizmap/lizmap-modules/
- enable the module with:
php lizmap/install/configurator.php multiauth
- Then execute Lizmap install scripts into
lizmap/install/
:
php lizmap/install/installer.php
./lizmap/install/clean_vartmp.sh
./lizmap/install/set_rights.sh
- into
lizmap/my-packages
, create the filecomposer.json
(if it doesn't exist) by copying the filecomposer.json.dist
, and install the modules with Composer:
cp -n lizmap/my-packages/composer.json.dist lizmap/my-packages/composer.json
composer require --working-dir=lizmap/my-packages "jelix/multiauth-module"
- Edit the config file
lizmap/var/config/localconfig.ini.php
and add or modify these values into the section[modules]
:
ldapdao.access=0
multiauth.access=2
jauth.access=2
- Then go into
lizmap/install/
and execute Lizmap install scripts :
php installer.php
./clean_vartmp.sh
./set_rights.sh
You can configure the module. See the "Configuration" section of the README.md file.
- Get the last ZIP archive in the release page of the GitHub repository.
- Extract the archive and copy the
multiauth
directory in the Lizmap Web Client folderlizmap/lizmap-modules/
- Edit the config file
lizmap/var/config/localconfig.ini.php
and add or modify these values into the section[modules]
:
ldapdao.access=0
multiauth.access=2
jauth.access=2
- Then execute Lizmap install scripts into
lizmap/install/
:
php lizmap/install/installer.php
./lizmap/install/clean_vartmp.sh
./lizmap/install/set_rights.sh