Ignore:
Timestamp:
Oct 20, 2008, 12:24:51 AM (13 years ago)
Author:
Dominic Hargreaves
Message:

Add the ability to whitelist hosts who can change moderated nodes
without explicit moderation - thanks Oliver (fixes #203)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Config.pm

    r1233 r1240  
    2323   show_gmap_in_node_display google_analytics_key
    2424   centre_lat default_gmaps_zoom default_gmaps_search_zoom force_wgs84
    25    licence_name licence_url licence_info_url moderation_requires_password
     25   licence_name licence_url licence_info_url
     26   moderation_requires_password moderate_whitelist
    2627   enable_node_image enable_common_categories enable_common_locales
    2728   spam_detector_module host_checker_module static_path static_url
     
    8182                     enable_page_deletion => 0,
    8283                     moderation_requires_password => 1,
     84                     moderate_whitelist => "",
    8385                     admin_pass => "Change This!",
    8486                     enable_node_image => 1,
     
    203205        send_moderation_notifications => "Should we send email notifications when a moderated node is edited?",
    204206        website_link_max_chars => "How many characters of the URL of node websites should be displayed?",
     207        moderate_whitelist => "Enter a comma-separated list of IP addresses able to make changes to moderated nodes and have them show up immediately",
    205208    );
    206209
     
    337340=item * send_moderation_notifications
    338341
     342=item * moderate_whitelist
     343
    339344=item * website_link_max_chars (default: C<20>)
    340345
Note: See TracChangeset for help on using the changeset viewer.