12345678910111213141516171819 |
- dofile('../modpol.lua');
- modpol.orgs.reset()
- test_org = modpol.instance:add_org('test_org')
- test_org:set_policy("add_member", nil, false);
- new_request = {
- user = "lukvmil",
- type = "add_member",
- params = {"lukvmil"}
- }
- request_id = test_org:make_request(new_request)
- request_id = test_org:make_request(new_request)
- print(test_org:list_request())
- test_org:create_process(request_id)
|