Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Modification to actionpolicy.rb #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Modification to actionpolicy.rb #1

wants to merge 2 commits into from

Commits on Feb 3, 2011

  1. Modify actionpolicy.rb to enable a default permissions file.

    This works based on two (optional) config file settings:
    
    actionpolicy.enable_default
    actionpolicy.default_name
    
    If the former is set to 1, actionpolicy.rb will first look for a <pluginname>.policy as per
    the original actionpolicy.rb.  If this lookup fails it will next look for the following:
    
    If there is no actionpolicy.default_name setting in the config file, we look for a file
    named default.policy
    
    If there is a default_name setting, we look for <default_name>.policy
    
    In either case we then substitute this for <pluginname>.policy and process.
    eshamow authored and Eric Shamow committed Feb 3, 2011
    Configuration menu
    Copy the full SHA
    9783f0a View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2011

  1. Changed if ! to unless per Volcane request

    Eric Shamow committed Feb 10, 2011
    Configuration menu
    Copy the full SHA
    4dbda18 View commit details
    Browse the repository at this point in the history