Add trusted URL and browser-policy options.

This commit is contained in:
Lauri Ojansivu 2018-08-14 17:09:03 +03:00
parent 7b7efac1cf
commit 392cf29353
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,9 @@
# v0.21 2018-08-14
* Add trusted URL and browser-policy optios.
Thanks to GitHub user xet7 for contributions.
# v0.20 2018-08-10 # v0.20 2018-08-10
* Add note to beginning of docker-compose.yml that * Add note to beginning of docker-compose.yml that

View file

@ -133,6 +133,12 @@ services:
## The option that allows matomo to retrieve the username: ## The option that allows matomo to retrieve the username:
# - MATOMO_WITH_USERNAME='true' # - MATOMO_WITH_USERNAME='true'
#--------------------------------------------------------------- #---------------------------------------------------------------
# Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
# Setting this to false is not recommended, it also disables all other browser policy protections
# and allows all iframing etc. See wekan/server/policy.js
- BROWSER_POLICY_ENABLED=true
# When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
- TRUSTED_URL=''
depends_on: depends_on:
- wekandb - wekandb