The discussion revolves around hosting many forums on a single Discourse instance with a single database. jmay is interested in hosting hundreds or thousands of small forums, and is exploring possible solutions.
jmay outlines the necessary features for implementing this, including scoping topics, categories, groups, badges, and notifications to specific forums. sam suggests that using namespaces could be a possible solution, but notes that it would require significant development work.
jmay considers using the Guardian class to restrict access to subsets of the database, while sam advises against adding scope columns to every table and instead suggests using the apartment gem.
However, jmay is hesitant to use the apartment gem due to the potential complexity and performance issues. tobiaseigen proposes a different approach, where each discourse forum is independent and separate, but can be hosted as a group on a larger forum.
jmay eventually considers using categories and groups to implement the multi-forum feature, which would involve nesting categories and groups, and tying moderator access to categories. sam supports this approach and suggests that implementing category-specific moderators would be a good starting point.
jmay agrees to work on this feature and is instructed by sam to create a detailed post on the feature topic, which can be reviewed and moved to the spec category.