diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-02-12 03:09:30 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-02-12 03:09:30 +0200 |
commit | 59314ab17d65e9579d2f29b32685b7777f2a06a1 (patch) | |
tree | fb789f2737fabe34244227cb8960fa77562c4232 /snap-src/bin/wekan-help | |
parent | 4de9848e34b0a1771747afdf970e9073c50f3e75 (diff) | |
download | wekan-59314ab17d65e9579d2f29b32685b7777f2a06a1.tar.gz wekan-59314ab17d65e9579d2f29b32685b7777f2a06a1.tar.bz2 wekan-59314ab17d65e9579d2f29b32685b7777f2a06a1.zip |
- Add OIDC claim mapping parameters to docker-compose.yml/Snap/Source.
Thanks to xet7 !
Diffstat (limited to 'snap-src/bin/wekan-help')
-rwxr-xr-x | snap-src/bin/wekan-help | 195 |
1 files changed, 107 insertions, 88 deletions
diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help index eda05ff8..431be029 100755 --- a/snap-src/bin/wekan-help +++ b/snap-src/bin/wekan-help @@ -8,6 +8,13 @@ if [ "$CADDY_ENABLED" = "true" ]; then fi echo -e "Wekan: The open-source kanban.\n" +echo -e "\n" +echo -e "Debug OIDC OAuth2 etc." +echo -e "To enable the Debug of Wekan:" +echo -e "\t$ snap set $SNAP_NAME debug='true'" +echo -e "\t-Disable the Debug of Wekan:" +echo -e "\t$ snap set $SNAP_NAME debug='false'" +echo -e "\n" echo -e "Make sure you have connected all interfaces, check more by calling $ snap interfaces ${SNAP_NAME}" echo -e "\n" echo -e "${SNAP_NAME} has multiple services, to check status use systemctl" @@ -29,256 +36,268 @@ echo -e "\t\t-disable mongodb in $SNAP_NAME by calling: $ snap set $SNAP_NAME se echo -e "\t\t-set mongodb-bind-unix-socket to point to serving mongodb. Use relative path inside shared directory, e.g run/mongodb-27017.sock" echo -e "\n" echo -e "To enable the API of wekan:" -echo -e "\t$ snap set $SNAP_NAME WITH_API='true'" +echo -e "\t$ snap set $SNAP_NAME with-api='true'" echo -e "\t-Disable the API:" -echo -e "\t$ snap set $SNAP_NAME WITH_API='false'" +echo -e "\t$ snap set $SNAP_NAME with-api='false'" echo -e "\n" echo -e "To enable the CORS of wekan, to set Access-Control-Allow-Origin header:" -echo -e "\t$ snap set $SNAP_NAME CORS='*'" +echo -e "\t$ snap set $SNAP_NAME cors='*'" echo -e "\t-Disable the CORS:" -echo -e "\t$ snap set $SNAP_NAME CORS=''" +echo -e "\t$ snap set $SNAP_NAME cors=''" echo -e "\n" echo -e "Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside." echo -e "\t\t Setting this to false is not recommended, it also disables all other browser policy protections" echo -e "\t\t and allows all iframing etc. See wekan/server/policy.js" -echo -e "To enable the Content Policy of Wekan:" -echo -e "\t$ snap set $SNAP_NAME CONTENT_POLICY_ENABLED='true'" -echo -e "\t-Disable the Content Policy of Wekan:" -echo -e "\t$ snap set $SNAP_NAME CONTENT_POLICY_ENABLED='false'" +echo -e "To enable the Browser Policy of Wekan:" +echo -e "\t$ snap set $SNAP_NAME browser-policy-enabled='true'" +echo -e "\t-Disable the Browser Policy of Wekan:" +echo -e "\t$ snap set $SNAP_NAME browser-policy-enabled='false'" echo -e "\n" echo -e "When browser policy is enabled, HTML code at this URL can have iframe that embeds Wekan inside." echo -e "To enable the Trusted URL of Wekan:" -echo -e "\t$ snap set $SNAP_NAME TRUSTED_URL='https://example.com'" +echo -e "\t$ snap set $SNAP_NAME trusted-url='https://example.com'" echo -e "\t-Disable the Trusted URL of Wekan:" -echo -e "\t$ snap set $SNAP_NAME TRUSTED_URL=''" +echo -e "\t$ snap set $SNAP_NAME trusted-url=''" echo -e "\n" echo -e "What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId ." echo -e "To enable the Webhooks Attributes of Wekan:" -echo -e "\t$ snap set $SNAP_NAME WEBHOOKS_ATTRIBUTES='cardId,listId,oldListId,boardId,comment,user,card,commentId'" +echo -e "\t$ snap set $SNAP_NAME webhooks-attributes='cardId,listId,oldListId,boardId,comment,user,card,commentId'" echo -e "\t-Disable the Webhooks Attributes of Wekan to send all default ones:" -echo -e "\t$ snap set $SNAP_NAME WEBHOOKS_ATTRIBUTES=''" +echo -e "\t$ snap set $SNAP_NAME webhooks-attributes=''" echo -e "\n" -echo -e "OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345" +echo -e "OAuth2 Client ID." echo -e "To enable the OAuth2 Client ID of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_CLIENT_ID='54321abcde'" +echo -e "\t$ snap set $SNAP_NAME oauth2-client-id='54321abcde'" echo -e "\t-Disable the OAuth2 Client ID of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_CLIENT_ID=''" +echo -e "\t$ snap set $SNAP_NAME oauth2-client-id=''" echo -e "\n" -echo -e "OAuth2 Secret, for example from Rocket.Chat. Example: 54321abcde" +echo -e "OAuth2 Secret." echo -e "To enable the OAuth2 Secret of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_SECRET='54321abcde'" +echo -e "\t$ snap set $SNAP_NAME oauth2-secret='54321abcde'" echo -e "\t-Disable the OAuth2 Secret of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_SECRET=''" -echo -e "\n" -echo -e "OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com" -echo -e "To enable the OAuth2 Server URL of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_SERVER_URL='https://chat.example.com'" -echo -e "\t-Disable the OAuth2 Server URL of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_SERVER_URL=''" +echo -e "\t$ snap set $SNAP_NAME oauth2-secret=''" echo -e "\n" -echo -e "OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com" +echo -e "OAuth2 Server URL." echo -e "To enable the OAuth2 Server URL of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_SERVER_URL='https://chat.example.com'" +echo -e "\t$ snap set $SNAP_NAME oauth2-server-url='https://chat.example.com'" echo -e "\t-Disable the OAuth2 Server URL of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_SERVER_URL=''" +echo -e "\t$ snap set $SNAP_NAME oauth2-server-url=''" echo -e "\n" -echo -e "OAuth2 Authorization Endpoint. Example: /oauth/authorize" +echo -e "OAuth2 Authorization Endpoint." echo -e "To enable the OAuth2 Authorization Endpoint of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_AUTH_ENDPOINT='/oauth/authorize'" +echo -e "\t$ snap set $SNAP_NAME oauth2-auth-endpoint='/oauth/authorize'" echo -e "\t-Disable the OAuth2 Authorization Endpoint of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_AUTH_ENDPOINT=''" +echo -e "\t$ snap set $SNAP_NAME oauth2-auth-endpoint=''" echo -e "\n" -echo -e "OAuth2 Userinfo Endpoint. Example: /oauth/userinfo" +echo -e "OAuth2 Userinfo Endpoint." echo -e "To enable the OAuth2 Userinfo Endpoint of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_USERINFO_ENDPOINT='/oauth/authorize'" +echo -e "\t$ snap set $SNAP_NAME oauth2-userinfo-endpoint='/oauth/authorize'" echo -e "\t-Disable the OAuth2 Userinfo Endpoint of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_USERINFO_ENDPOINT=''" +echo -e "\t$ snap set $SNAP_NAME oauth2-userinfo-endpoint=''" echo -e "\n" -echo -e "OAuth2 Token Endpoint. Example: /oauth/token" +echo -e "OAuth2 Token Endpoint." echo -e "To enable the OAuth2 Token Endpoint of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_TOKEN_ENDPOINT='/oauth/token'" +echo -e "\t$ snap set $SNAP_NAME oauth2-token-endpoint='/oauth/token'" echo -e "\t-Disable the OAuth2 Token Endpoint of Wekan:" -echo -e "\t$ snap set $SNAP_NAME OAUTH2_TOKEN_ENDPOINT=''" -echo -e "\n" -echo -e "Debug OIDC OAuth2 etc." -echo -e "To enable the Debug of Wekan:" -echo -e "\t$ snap set $SNAP_NAME DEBUG='true'" -echo -e "\t-Disable the Debug of Wekan:" -echo -e "\t$ snap set $SNAP_NAME DEBUG='false'" +echo -e "\t$ snap set $SNAP_NAME oauth2-token-endpoint=''" +echo -e "\n" +echo -e "OAuth2 ID Mapping." +echo -e "To enable the ID Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-id-map='username.uid'" +echo -e "\t-Disable the ID Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-id-map=''" +echo -e "\n" +echo -e "OAuth2 Username Mapping." +echo -e "To enable the Username Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-username-map='username'" +echo -e "\t-Disable the Username Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-username-map=''" +echo -e "\n" +echo -e "OAuth2 Fullname Mapping." +echo -e "To enable the Fullname Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-fullname-map='fullname'" +echo -e "\t-Disable the Fullname Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-fullname-map=''" +echo -e "\n" +echo -e "OAuth2 Email Mapping." +echo -e "To enable the Email Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-email-map='email'" +echo -e "\t-Disable the Email Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-email-map=''" echo -e "\n" echo -e "Ldap Enable." echo -e "To enable the ldap of Wekan:" -echo -e "\t$ snap set $SNAP_NAME LDAP_ENABLE='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-enable='true'" echo -e "\t-Disable the ldap of Wekan:" -echo -e "\t$ snap set $SNAP_NAME LDAP_ENABLE='false'" +echo -e "\t$ snap set $SNAP_NAME ldap-enable='false'" echo -e "\n" echo -e "Ldap Port." echo -e "The port of the ldap server:" -echo -e "\t$ snap set $SNAP_NAME LDAP_PORT='12345'" +echo -e "\t$ snap set $SNAP_NAME ldap-port='12345'" echo -e "\n" echo -e "Ldap Host." echo -e "The host server for the LDAP server:" -echo -e "\t$ snap set $SNAP_NAME LDAP_HOST='localhost'" +echo -e "\t$ snap set $SNAP_NAME ldap-host='localhost'" echo -e "\n" echo -e "Ldap Base Dn." echo -e "The base DN for the LDAP Tree:" -echo -e "\t$ snap set $SNAP_NAME LDAP_BASEDN='ou=user,dc=example,dc=org'" +echo -e "\t$ snap set $SNAP_NAME ldap-basedn='ou=user,dc=example,dc=org'" echo -e "\n" echo -e "Ldap Login Fallback." echo -e "Fallback on the default authentication method:" -echo -e "\t$ snap set $SNAP_NAME LDAP_LOGIN_FALLBACK='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-login-fallback='true'" echo -e "\n" echo -e "Ldap Reconnect." echo -e "Reconnect to the server if the connection is lost:" -echo -e "\t$ snap set $SNAP_NAME LDAP_RECONNECT='false'" +echo -e "\t$ snap set $SNAP_NAME ldap-reconnect='false'" echo -e "\n" echo -e "Ldap Timeout." echo -e "Overall timeout, in milliseconds:" -echo -e "\t$ snap set $SNAP_NAME LDAP_TIMEOUT='12345'" +echo -e "\t$ snap set $SNAP_NAME ldap-timeout='12345'" echo -e "\n" echo -e "Ldap Idle Timeout." echo -e "Specifies the timeout for idle LDAP connections in milliseconds:" -echo -e "\t$ snap set $SNAP_NAME LDAP_IDLE_TIMEOUT='12345'" +echo -e "\t$ snap set $SNAP_NAME ldap-idle-timeout='12345'" echo -e "\n" echo -e "Ldap Connect Timeout." echo -e "Connection timeout, in milliseconds:" -echo -e "\t$ snap set $SNAP_NAME LDAP_CONNECT_TIMEOUT='12345'" +echo -e "\t$ snap set $SNAP_NAME ldap-connect-timeout='12345'" echo -e "\n" echo -e "Ldap Authentication." echo -e "If the LDAP needs a user account to search:" -echo -e "\t$ snap set $SNAP_NAME LDAP_AUTHENTIFICATION='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-authentication='true'" echo -e "\n" echo -e "Ldap Authentication User Dn." echo -e "The search user Dn:" -echo -e "\t$ snap set $SNAP_NAME LDAP_AUTHENTIFICATION_USERDN='cn=admin,dc=example,dc=org'" +echo -e "\t$ snap set $SNAP_NAME ldap-authentication-userdn='cn=admin,dc=example,dc=org'" echo -e "\n" echo -e "Ldap Authentication Password." echo -e "The password for the search user:" -echo -e "\t$ snap set $SNAP_NAME AUTHENTIFICATION_PASSWORD='admin'" +echo -e "\t$ snap set $SNAP_NAME ldap-authentication-password='admin'" echo -e "\n" echo -e "Ldap Log Enabled." echo -e "Enable logs for the module:" -echo -e "\t$ snap set $SNAP_NAME LDAP_LOG_ENABLED='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-log-enabled='true'" echo -e "\n" echo -e "Ldap Background Sync." echo -e "If the sync of the users should be done in the background:" -echo -e "\t$ snap set $SNAP_NAME LDAP_BACKGROUND_SYNC='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync='true'" echo -e "\n" echo -e "Ldap Background Sync Interval." echo -e "At which interval does the background task sync in milliseconds:" -echo -e "\t$ snap set $SNAP_NAME LDAP_BACKGROUND_SYNC_INTERVAL='12345'" +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-interval='12345'" echo -e "\n" echo -e "Ldap Background Sync Keep Existant Users Updated." -echo -e "\t$ snap set $SNAP_NAME LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-keep-existant-users-updated='true'" echo -e "\n" echo -e "Ldap Background Sync Import New Users." -echo -e "\t$ snap set $SNAP_NAME LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-import-new-users='true'" echo -e "\n" echo -e "Ldap Encryption." echo -e "Allow LDAPS:" -echo -e "\t$ snap set $SNAP_NAME LDAP_ENCRYPTION='ssl'" +echo -e "\t$ snap set $SNAP_NAME ldap-encryption='ssl'" echo -e "\n" echo -e "Ldap Ca Cert." echo -e "The certification for the LDAPS server:" -echo -e "\t$ snap set $SNAP_NAME LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----" +echo -e "\t$ snap set $SNAP_NAME ldap-ca-cert=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----" echo -e "\n" echo -e "Ldap Reject Unauthorized." echo -e "Reject Unauthorized Certificate:" -echo -e "\t$ snap set $SNAP_NAME LDAP_REJECT_UNAUTHORIZED='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-reject-unauthorized='true'" echo -e "\n" echo -e "Ldap User Search Filter." echo -e "Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed:" -echo -e "\t$ snap set $SNAP_NAME LDAP_USER_SEARCH_FILTER=''" +echo -e "\t$ snap set $SNAP_NAME ldap-user-search-filter=''" echo -e "\n" echo -e "Ldap User Search Scope." echo -e "base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree). Example: one" -echo -e "\t$ snap set $SNAP_NAME LDAP_USER_SEARCH_SCOPE=one" +echo -e "\t$ snap set $SNAP_NAME ldap-user-search-scope=one" echo -e "\n" echo -e "Ldap User Search Field." echo -e "Which field is used to find the user:" -echo -e "\t$ snap set $SNAP_NAME LDAP_USER_SEARCH_FIELD='uid'" +echo -e "\t$ snap set $SNAP_NAME ldap-user-search-field='uid'" echo -e "\n" echo -e "Ldap Search Page Size." echo -e "Used for pagination (0=unlimited):" -echo -e "\t$ snap set $SNAP_NAME LDAP_SEARCH_PAGE_SIZE='12345'" +echo -e "\t$ snap set $SNAP_NAME ldap-search-page-size='12345'" echo -e "\n" echo -e "Ldap Search Size Limit." echo -e "The limit number of entries (0=unlimited):" -echo -e "\t$ snap set $SNAP_NAME LDAP_SEARCH_SIZE_LIMIT='12345'" +echo -e "\t$ snap set $SNAP_NAME ldap-search-size-limit='12345'" echo -e "\n" echo -e "Ldap Group Filter Enable." echo -e "Enable group filtering:" -echo -e "\t$ snap set $SNAP_NAME LDAP_GROUP_FILTER_ENABLE='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-enable='true'" echo -e "\n" echo -e "Ldap Group Filter ObjectClass." echo -e "The object class for filtering:" -echo -e "\t$ snap set $SNAP_NAME LDAP_GROUP_FILTER_OBJECTCLASS='group'" +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-objectclass='group'" echo -e "\n" echo -e "Ldap Group Filter Id Attribute." -echo -e "\t$ snap set $SNAP_NAME LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=''" +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-group-id-attribute=''" echo -e "\n" echo -e "Ldap Group Filter Member Attribute." -echo -e "\t$ snap set $SNAP_NAME LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE=''" +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-group-member-attribute=''" echo -e "\n" echo -e "Ldap Group Filter Member Format." -echo -e "\t$ snap set $SNAP_NAME LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT=''" +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-group-member-format=''" echo -e "\n" echo -e "Ldap Group Filter Group Name." -echo -e "\t$ snap set $SNAP_NAME LDAP_GROUP_FILTER_GROUP_NAME=''" +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-group-name=''" echo -e "\n" echo -e "Ldap Unique Identifier Field." echo -e "This field is sometimes class GUID (Globally Unique Identifier):" -echo -e "\t$ snap set $SNAP_NAME LDAP_UNIQUE_IDENTIFIER_FIELD=guid" +echo -e "\t$ snap set $SNAP_NAME ldap-unique-identifier-field=guid" echo -e "\n" echo -e "Ldap Utf8 Names Slugify." echo -e "Convert the username to utf8:" -echo -e "\t$ snap set $SNAP_NAME LDAP_UTF8_NAMES_SLUGIFY='false'" +echo -e "\t$ snap set $SNAP_NAME ldap-utf8-names-slugify='false'" echo -e "\n" echo -e "Ldap Username Field." echo -e "Which field contains the ldap username:" -echo -e "\t$ snap set $SNAP_NAME LDAP_USERNAME_FIELD='username'" +echo -e "\t$ snap set $SNAP_NAME ldap-username-field='username'" echo -e "\n" echo -e "Ldap Fullname Field." echo -e "Which field contains the ldap fullname:" -echo -e "\t$ snap set $SNAP_NAME LDAP_FULLNAME_FIELD='fullname'" +echo -e "\t$ snap set $SNAP_NAME ldap-fullname-field='fullname'" echo -e "\n" echo -e "Ldap Merge Existing Users." -echo -e "\t$ snap set $SNAP_NAME LDAP_MERGE_EXISTING_USERS='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-merge-existing-users='true'" echo -e "\n" echo -e "Ldap Sync User Data." echo -e "Enable synchronization of user data:" -echo -e "\t$ snap set $SNAP_NAME LDAP_SYNC_USER_DATA='true'" +echo -e "\t$ snap set $SNAP_NAME ldap-sync-user-data='true'" echo -e "\n" echo -e "Ldap Sync User Data Fieldmap." echo -e "A field map for the matching:" -echo -e "\t$ snap set $SNAP_NAME LDAP_SYNC_USER_DATA_FIELDMAP={\"cn\":\"name\", \"mail\":\"email\"}" +echo -e "\t$ snap set $SNAP_NAME ldap-sync-user-data-fieldmap={\"cn\":\"name\", \"mail\":\"email\"}" echo -e "\n" echo -e "Ldap Sync Group Roles." -echo -e "\t$ snap set $SNAP_NAME LDAP_SYNC_GROUP_ROLES=''" +echo -e "\t$ snap set $SNAP_NAME ldap-sync-group-roles=''" echo -e "\n" 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 "\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 "\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 "\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 "\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 "\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'" +echo -e "\t$ snap set $SNAP_NAME default-authentication-method='ldap'" echo -e "\n" # parse config file for supported settings keys echo -e "wekan supports settings keys" |