From 7e451d9033eb6162cd37de3e5ffabdc22e272948 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 6 Mar 2019 02:47:27 +0200 Subject: [Add support for admin status sync](https://github.com/wekan/wekan-ldap/pull/40). Examples: LDAP_SYNC_ADMIN_STATUS=true, LDAP_SYNC_ADMIN_GROUP=group1,group2 Thanks to JulianJacobi and xet7 ! --- snap-src/bin/wekan-help | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) (limited to 'snap-src/bin/wekan-help') diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help index 8d88527f..e1945357 100755 --- a/snap-src/bin/wekan-help +++ b/snap-src/bin/wekan-help @@ -297,22 +297,28 @@ echo -e "Ldap Default Domain." echo -e "The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP:" echo -e "\t$ snap set $SNAP_NAME ldap-default-domain=''" echo -e "\n" -# echo -e "Logout with timer." -# echo -e "Enable or not the option that allows to disconnect an user after a given time:" -# echo -e "\t$ snap set $SNAP_NAME logout-with-timer='true'" -# echo -e "\n" -# echo -e "Logout in." -# echo -e "Logout in how many days:" -# echo -e "\t$ snap set $SNAP_NAME logout-in='1'" -# echo -e "\n" -# echo -e "Logout on hours." -# echo -e "Logout in how many hours:" -# echo -e "\t$ snap set $SNAP_NAME logout-on-hours='9'" -# echo -e "\n" -# echo -e "Logout on minutes." -# echo -e "Logout in how many minutes:" -# echo -e "\t$ snap set $SNAP_NAME logout-on-minutes='5'" -# echo -e "\n" +echo -e "Enable/Disable syncing of admin status based on LDAP groups." +echo -e "\t$ snap set $SNAP_NAME ldap-sync-admin-status='true'" +echo -e "\n" +echo -e "Comma separated list of admin group names to sync." +echo -e "\t$ snap set $SNAP_NAME ldap-sync-admin-groups='group1,group2'" +echo -e "\n" +echo -e "Logout with timer." +echo -e "Enable or not the option that allows to disconnect an user after a given time:" +echo -e "\t$ snap set $SNAP_NAME logout-with-timer='true'" +echo -e "\n" +echo -e "Logout in." +echo -e "Logout in how many days:" +echo -e "\t$ snap set $SNAP_NAME logout-in='1'" +echo -e "\n" +echo -e "Logout on hours." +echo -e "Logout in how many hours:" +echo -e "\t$ snap set $SNAP_NAME logout-on-hours='9'" +echo -e "\n" +echo -e "Logout on minutes." +echo -e "Logout in how many minutes:" +echo -e "\t$ snap set $SNAP_NAME logout-on-minutes='5'" +echo -e "\n" echo -e "Default authentication method." echo -e "The default authentication method used if a user does not exist to create and authenticate. Method can be password or ldap." echo -e "\t$ snap set $SNAP_NAME default-authentication-method='ldap'" -- cgit v1.2.3-1-g7c22