Plugin for YOURLS 1.7
ldap authentification with page and action permissions by ldap group. Localization for german. You must install "laemmi-yourls-default-tools" fist.
- In /user/plugins, create a new folder named laemmi-yourls-easy-ldap.
- Drop these files in that directory.
- Via git goto /users/plugins and type git clone https://github.com/Laemmi/laemmi-yourls-easy-ldap.git
- Add config values to config file
- Go to the YOURLS Plugins administration page and activate the plugin.
define('LAEMMI_EASY_LDAP_HOST', '');
define('LAEMMI_EASY_LDAP_PORT', '');
define('LAEMMI_EASY_LDAP_BASE', '');
define('LAEMMI_EASY_LDAP_FILTER', '');
define('LAEMMI_EASY_LDAP_FILTER_GROUP', '');
define('LAEMMI_EASY_LDAP_ALLOWED_GROUPS', json_encode([
'MY-LDAP-GROUPNAME' => ['admin', 'tools', 'plugins', 'action-add', 'action-edit', 'action-delete', 'action-stats', 'action-share']
]));
define('LAEMMI_EASY_LDAP_RDN_USERNAME', '');
define('LAEMMI_EASY_LDAP_RDN_PASSWORD', '');
- admin = Admin interface
- tools = Tools
- plugins = Manage plugins
- action-add = Add url
- action-edit = Edit url
- action-delete = Delete url
- action-stats = Show stats button
- action-share = Show share button