jasperweyne / helpless-kiwi

Manage members, create and manage activities, send mails and more
Apache License 2.0
11 stars 7 forks source link

Remove activities without author #381

Open jasperweyne opened 1 year ago

jasperweyne commented 1 year ago

Is your feature request related to a problem? Please describe. Originally, Kiwi didn't contain the groups/taxonomy functionality; this was added later during it's lifetime. Currently, only admins can add activities without an author group assigned, but this functionality is deprecated and shouldn't be used anymore. Moreover, it's an extra, unnecessary edge case to consider during development. For example, the implementation of #295 would be simplified by this change.

Describe the solution you'd like I propose to remove the possibility for activities without an author assigned. Functionally, this is a relatively small change as the functionality is only offered to admins. It has some additional underlying implications however. First of all, a user will be prompted to create an active group first if none are available. Furthermore, the author database column can be turned to nullable=false. Lastly, a migration must be created that assigns all current activities without an author to a new dummy group.