كيف يمكنني نشر مشاركة عبر فئات متعددة

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.

هل وجدت حلاً لمشكلتك؟

لقد كتبت حلاً لمنشور الموضوع عبر الفئات، وطبقت نفس الحل الذي ذكرته. قمت بنسخ الموضوع وردوده باستخدام ويب هوك لنسخ المنشورات التي أنشأتها، واستخدمت مستخدمين آليين.

مثير للاهتمام. هل تمانع مشاركة الكود؟
إذن المشكلة الوحيدة هي أن مستخدمين جانب المالية لا يمكنهم رؤية من يكتب من جانب التسويق والعكس صحيح؟

لا يمكنني مشاركة الكود،
نعم، ولكن لهذا الغرض، أضفنا لاحقة لتحديد أن هذا الرد نُشر بواسطة المستخدم.