Major improvements on policy configuration
- Bugfixes on change_policy - Replaced _consent modules with configurable modules
This commit is contained in:
@ -26,9 +26,12 @@ module_template.data = {
|
||||
-- When calling a module from within another module,
|
||||
-- variables not defined in config will be ignored.
|
||||
-- Default values set in config can be overridden
|
||||
-- @field approval_module names a module that must pass before approval; defaults to false
|
||||
-- @field field_1 ex: votes_required, default = 5
|
||||
-- @field field_2 ex: voting_type, default = "majority"
|
||||
module_template.config = {
|
||||
approval_module = false -- visible but empty
|
||||
hidden_config = nil -- not visible to users unless used
|
||||
field_1 = 5
|
||||
field_2 = "majority"
|
||||
}
|
||||
|
Reference in New Issue
Block a user