incubator-answer icon indicating copy to clipboard operation
incubator-answer copied to clipboard

Could we consider adding an option for users to choose whether their posts can be viewed by everyone (including anonymous users) or only by logged-in users when they publish a post?

Open vipelanchen opened this issue 1 year ago • 5 comments

Dear Teacher,

Could we consider adding a feature that allows users to choose whether their posts are visible to everyone (including anonymous viewers) or only to logged-in users? This option would help control the visibility of posts.

The purpose is to manage the privacy of certain posts and, by regulating user registration, maintain the health and professionalism of the community.


answer老师好: 是否可以考虑新增功能, 用户在发帖的时候,可以选择所有人(包含匿名)可以浏览,或者 只有用户登录后可以浏览,这样的选项,来控制阅读范围。 目的是为了控制某些帖子的隐私性,通过控制用户注册的方式,来管理社区的健康和发帖的专业性

vipelanchen avatar Dec 02 '25 02:12 vipelanchen

或者根据用户组的方式,设置查看权限

vipelanchen avatar Dec 02 '25 02:12 vipelanchen

https://github.com/apache/answer/issues/1441

这里好像已经回复了?目前帖子的访问权限只有登陆或者非登陆。 有点重复issue了,虽然你这个是“是否可以考虑”,另一个是“是否有这样的功能”。

liruohrh avatar Dec 06 '25 17:12 liruohrh

Hi! I'd like to work on this issue.

I'll investigate the root cause and submit a PR once the implementation is ready. Please let me know if there's anything specific I should keep in mind.

Thanks!

Mitali-41 avatar Sep 25 '26 14:09 Mitali-41

Hi! I'd like to work on this issue.

I'll investigate the root cause and submit a PR once the implementation is ready. Please let me know if there's anything specific I should keep in mind.

Thanks!

Mrunal1234724 avatar Sep 29 '26 06:09 Mrunal1234724

We did not consider adding permissions at the post level, as this would increase complexity.

fenbox avatar Sep 29 '26 13:09 fenbox