diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-05-16 13:43:51 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-05-16 13:43:51 +0200 |
commit | 3ee5b583c45dfe6cdc2f746ad3ee33b4d6f09999 (patch) | |
tree | b9224f975e183f88e6c7cc3553eee1ff28697a2c /lib/plugins/config/settings/config.metadata.php | |
parent | 7d71d4b76c180d36d77c3206149ed99d8de4e7a7 (diff) | |
download | rpg-3ee5b583c45dfe6cdc2f746ad3ee33b4d6f09999.tar.gz rpg-3ee5b583c45dfe6cdc2f746ad3ee33b4d6f09999.tar.bz2 |
restrict XMLRPC to configurable groups and users
Ignore-this: 1370cee84d44bb35ae7c0c988ed8f1ff
This patch adds a config option to define users or groups that may access
the XMLRPC API. ACLs are still checked on top of this intial access control.
darcs-hash:20090516114351-7ad00-155fb6c74c29f5f84e79544a534369eec0403ff0.gz
Diffstat (limited to 'lib/plugins/config/settings/config.metadata.php')
-rw-r--r-- | lib/plugins/config/settings/config.metadata.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/plugins/config/settings/config.metadata.php b/lib/plugins/config/settings/config.metadata.php index b506a8b91..8593e6033 100644 --- a/lib/plugins/config/settings/config.metadata.php +++ b/lib/plugins/config/settings/config.metadata.php @@ -133,6 +133,8 @@ $meta['disableactions'] = array('disableactions', $meta['sneaky_index'] = array('onoff'); $meta['auth_security_timeout'] = array('numeric'); $meta['securecookie'] = array('onoff'); +$meta['xmlrpc'] = array('onoff'); +$meta['xmlrpcuser'] = array('string'); $meta['_anti_spam'] = array('fieldset'); $meta['usewordblock']= array('onoff'); @@ -185,7 +187,6 @@ $meta['recent_days'] = array('numeric'); $meta['rss_show_summary'] = array('onoff'); $meta['broken_iua'] = array('onoff'); $meta['xsendfile'] = array('multichoice','_choices' => array(0,1,2,3)); -$meta['xmlrpc'] = array('onoff'); $meta['renderer_xhtml'] = array('renderer','_format' => 'xhtml','_choices' => array('xhtml')); $meta['_network'] = array('fieldset'); |