Adding and fixing basic modules for renaming, removing, and adding orgs

This commit is contained in:
Nathan Schneider
2021-12-19 16:00:26 -07:00
parent d4599e9bbe
commit 53d2a25f42
15 changed files with 371 additions and 130 deletions

View File

@ -2,9 +2,10 @@
-- A utility module for checking consent
local consent = {
name = "Consent",
name = "Consent process utility",
slug = "consent",
desc = "Other modules can use to implement consent based decision making",
desc = "A module other modules use for consent decisions",
hide = true
}
consent.data = {
@ -46,6 +47,8 @@ function consent:callback(member)
self.org:wipe_pending_actions(self.id)
self.org:delete_process(self.id)
end
modpol.interactions.org_dashboard(
member, self.org.name)
end
)
end