Currently we store 2 booleans in the DB for the project settings but as we add more settings this is not going to work fine.
Instead we could just store a JSON blob as Text in a settings column.
https://github.com/fedora-infra/pkgdb2/blob/master/pkgdb2/lib/model/init.py#L1698 might give an idea
Commit 7e869832 relates to this ticket
Commit 4d8ef3d4 relates to this ticket
Commit 385746fd relates to this ticket
Commit 75f31cca relates to this ticket
Commit 934a3236 relates to this ticket
This is now done and deployed