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

Corrected syntax #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Corrected syntax #2

wants to merge 1 commit into from

Conversation

eshamow
Copy link
Contributor

@eshamow eshamow commented Feb 11, 2011

Changed to unless syntax per Volcane

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant