Admidio / admidio

Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.
https://www.admidio.org
GNU General Public License v2.0
336 stars 131 forks source link

Delete organization #454

Closed ximex closed 3 years ago

ximex commented 7 years ago

It should be possible to delete an organization (if there are more than one)

https://www.admidio.org/forum/viewtopic.php?f=2&t=5477 https://www.admidio.org/forum/viewtopic.php?f=4&t=7168

We have to change to foreign key constraints. We restricted all deletions except this one:

alter table %PREFIX%_organizations add constraint %PREFIX%_FK_ORG_ORG_PARENT foreign key (org_org_id_parent)
      references %PREFIX%_organizations (org_id) on delete set null on update restrict;
Fasse commented 7 years ago

To delete an organization is something big. We should therefore ask for an administrator password before we delete an organization. Maybe we should only allow to delete an organization with no memberships except the administrator. Maybe we could set an organization to disabled if there are already a lot of members, events ...

ximex commented 6 years ago

https://www.admidio.org/forum/viewtopic.php?f=7&t=7689

Fasse commented 3 years ago

view #62