|  | @@ -32,6 +32,21 @@ echo -e "To enable the API of wekan:"
 | 
	
		
			
				|  |  |  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 "\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 "\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-Disable the Trusted URL of Wekan:"
 | 
	
		
			
				|  |  | +echo -e "\t$ snap set $SNAP_NAME TRUSTED_URL=''"
 | 
	
		
			
				|  |  | +echo -e "\n"
 | 
	
		
			
				|  |  |  # parse config file for supported settings keys
 | 
	
		
			
				|  |  |  echo -e "wekan supports settings keys"
 | 
	
		
			
				|  |  |  echo -e "values can be changed by calling\n$ snap set $SNAP_NAME <key name>='<key value>'"
 |