1234567891011121314151617181920212223242526272829303132 |
- -- 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)
|