移除类别安全组中的“所有人”后链接预览不起作用

Hello,
It’s my first post and I am sorry that it’s not something that helps others rather asking for help. :sweat:

We have been using our installation of Discourse on our local server for internal communications for two years. And we like it a lot.
I find Discourse’s topic link preview(Onebox?) one of the best features of Discourse and it has been working great until I change all the categories permission to the same private(closed) group only removing “everyone”. :sweat:
I had to do it because we’d like to invite guests to a specific category and we did not want them to see all our internal channels.
I understand that I will not be able to see the topic preview if the security group is different.
But all our category has the same security group called “our company name”.
But still, any topic link except the ones that belong to the same category is not working. :sweat:
Will that be any way that we can have the topic preview feature with the category not open to “everyone”?
I think I extensively searched the forum but I could not find the topic with the same issue. :thinking:

I saw the post above but the problem is that my category A and category B has the same security group. but it’s not just public.

By the way, I think Discourse is the best solution available not only for the public forum but also for internal communication. In my opinion/use case, it’s better than Slack or Teams. We had used both solutions for years especially Slack since it was beta, We switched to Teams from Slack for a while and have been using Discourse for 2 years now.
Thank you for developing and open-sourcing this great solution.

2 个赞

I’m also having this same issue. I wanted to onebox something in the subcategory which has the same permissions as the category, but could not do this. The subcategory cannot be public, but it is visable to everyone in the category, so should be suitable for oneboxing

遇到同样的问题。有什么解决方案吗?

我引用了我想要使用的部分,效果相当不错。你甚至可以引用一小段并使用展开来显示完整的帖子。
(添加于: 如果用户有权限查看引用的类别)

它显示的是“在另一个主题上”,而不是主题标题,所以不太流畅,但对我们来说一直是一个很好的解决方法。:+1: 好处是它也能保持其格式。

1 个赞

bug1
即使主题是私有的,它也会显示预览 :astonished:

有趣的是,主要问题对我来说不再出现。如果用户有权访问该类别,那么他们可以看到预览。

1 个赞

您可以稍微调整一下,通过在引用中添加 full:true 来避免展开,或者如果您不想要“关于其他主题”链接,只需将其简化为用户名:

还有一个额外的第三种选择,越来越低技术含量,就是将用户名替换为主题标题:

不过,惊讶的表情让我觉得我可能在某些方面判断失误了。 :slightly_smiling_face: