Adding and fixing basic modules for renaming, removing, and adding orgs
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user