Files
modpol/modpol/modules/child_org.lua

33 lines
667 B
Lua

-- CHILD_ORG
-- Module that enables user to create child in current org
-- Initial configuration
modpol.modules.child_org = {}
modpol.modules.child_org.name = "Create child org"
-- == REQUEST ==
-- Initialization function
-- function: modpol.modules.child_org:initialize
-- gather data from initiator: child org name, comment
-- function: modpol.modules.child_org:request
-- == CONSENT ==
-- function: modpol.orgs:consent(process_id, result_function)
-- the result function should begin the completion process below
-- == COMPLETION ==
-- if approved/if failed functions?
-- function: modpol.modules.child_org.create(initiator, parent_org, child_org)