Help with plugin logic


(miky) #1

Hi everyone,

I am writing a plugin for discourse to apply per topic permissions ( i know its hard to implement) and i am able to achieve this by using custom fields ( it stores all allowed userids against any topic) and then i am intercepting the default query and filtering allowed users there.

I want to know if there can be any implication of using this approach?


(Jeff Atwood) #2

Mostly performance, if you start issuing a lot of queries per topic, performance will suffer.