diff doc/customizing.txt @ 5881:9938c40e03bc

Add "rest" and "xmlrpc" values for database tx_Source property issue2551059: added new values for tx_Source to indicate when /rest or /xmlrpc endpoint is being used rather than the html web interface.
author John Rouillard <rouilj@ieee.org>
date Sat, 28 Sep 2019 18:28:17 -0400
parents 39082e29d2b4
children 6e341009593b
line wrap: on
line diff
--- a/doc/customizing.txt	Sat Sep 28 00:05:40 2019 -0400
+++ b/doc/customizing.txt	Sat Sep 28 18:28:17 2019 -0400
@@ -4923,7 +4923,7 @@
            # the nosy field has not changed so no need to check.
            return
 
-       if db.tx_Source in ['web', 'email-sig-openpgp', 'cli' ]:
+       if db.tx_Source in ['web', 'rest', 'xmlrpc', 'email-sig-openpgp', 'cli' ]:
 	   # if the source of the transaction is from an authenticated
 	   # source or a privileged process allow the transaction.
 	   # Other possible sources: 'email'

Roundup Issue Tracker: http://roundup-tracker.org/