Come pubblicare un post cross-category

Hello All,

I would like to discuss a use case here, much appreciate your help

My current setup:
two categories:

  1. Finance
  2. Marketing

Two types of users :

  1. Finance
  2. Marketing

currently,
finance user can start or see topics from finance category and
marketing user can start or see topics from marketing category only.

new user case
But now I want to make some changes in permission to support. that if marketing user wishes to post a topic in the finance category, then they should be allowed, but they only can see topics from marketing category and topic started by him/her in finance category.

As, I feel this is something related to hacking of permission I am posting this in dev category.

Please help how can I achieve this?

Thanks,

That’s not going to be easily possible. Permissions are at the category level, not the topic level. They can either see the Finance category or not. They can’t see just their posts in the Finance category.

The only way to have topic-level permissions is to use PMs.

Thanks for your quick reply @pfaffman,

I have another though to achieve this. what if I will clone that topic from one category to another and when someone reply to that cloned topic that I will clone that post to original Topic.

I have gone through the rest apis. and I think I can achieve this using rest api. but of course I may not be able to attached username who has replied on those topic.

so, apart from RestAPIs is there any configuration available in discourse it self or any plug-in that can help me to do so.

Hai trovato una soluzione per il tuo problema?

Ho scritto una soluzione per il post sul tema cross-categoria e ho implementato la stessa soluzione che ho menzionato. Ho clonato l’argomento e le sue risposte utilizzando un webhook per clonare i post che ho creato, impiegando utenti bot.

Interessante. Ti dispiace condividere il codice?
Quindi l’unico problema è che gli utenti del lato finanza non possono vedere chi sta scrivendo dal lato marketing e viceversa?

Non posso condividere il codice,
e sì, ma per questo abbiamo aggiunto un suffisso per identificare che questa risposta è stata pubblicata dall’utente.