Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章作者转让功能 #5720

Closed
yovvis opened this issue Apr 16, 2024 · 6 comments · Fixed by #6178
Closed

文章作者转让功能 #5720

yovvis opened this issue Apr 16, 2024 · 6 comments · Fixed by #6178
Assignees
Labels
area/core Issues or PRs related to the Halo Core area/ui Issues or PRs related to the Halo UI kind/feature Categorizes issue or PR as related to a new feature. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Milestone

Comments

@yovvis
Copy link

yovvis commented Apr 16, 2024

Your current Halo version

halo pro 2.14.0-rc.3

Describe this feature

现状:超级管理员只有在文章列表操作文章,但是在我的文章里面目前是没有的(这个确实不是管理员发的,功能没问题)
需求:站点的超级管理员可以选择文章所属作者,预防用户注销,或者长时间不登录用户,文章所属不明的风险
提出原因:站点的用户删除了,其在网站上的所著所权,无特殊说明默认挂靠至管理员账户下

Additional information

可以在以下位置加 <转让> 或者在设置的元数据中添加也可以
image

@ruibaby
Copy link
Member

ruibaby commented Apr 16, 2024

感谢反馈此问题,这个功能确实有必要添加。我们可以考虑在文章设置中支持手动设置作者。

/area ui
/area core
/kind feature

@f2c-ci-robot f2c-ci-robot bot added area/ui Issues or PRs related to the Halo UI area/core Issues or PRs related to the Halo Core kind/feature Categorizes issue or PR as related to a new feature. labels Apr 16, 2024
@yovvis
Copy link
Author

yovvis commented Apr 16, 2024

感谢反馈此问题,这个功能确实有必要添加。我们可以考虑在文章设置中支持手动设置作者。

/area ui /area core /kind feature

好滴

@LIlGG
Copy link
Member

LIlGG commented Apr 16, 2024

感谢反馈此问题,这个功能确实有必要添加。我们可以考虑在文章设置中支持手动设置作者。

系统当中目前有 ownercontributors 两个字段。而在个人中心使用 owner 查询文章是否属于当前登录用户。

if (StringUtils.isNotBlank(username)) {
fieldQuery = QueryFactory.and(fieldQuery, QueryFactory.equal(
"spec.owner", username)
);
}

因此这里是否为修改 owner 而不是 contributors ?在 console 的过滤项中,作者指 contributors 字段。

并且如果是修改 owner,则应该只允许有一个

@lv-goose
Copy link

Your current Halo version

halo pro 2.14.0-rc.3

Describe this feature

现状:超级管理员只有在文章列表操作文章,但是在我的文章里面目前是没有的(这个确实不是管理员发的,功能没问题) 需求:站点的超级管理员可以选择文章所属作者,预防用户注销,或者长时间不登录用户,文章所属不明的风险 提出原因:站点的用户删除了,其在网站上的所著所权,无特殊说明默认挂靠至管理员账户下

Additional information

可以在以下位置加 <转让> 或者在设置的元数据中添加也可以 image

遇到同样问题,期待早日实现。

@JohnNiang
Copy link
Member

/triage accepted
/milestone 2.17.x

@f2c-ci-robot f2c-ci-robot bot added the triage/accepted Indicates an issue or PR is ready to be actively worked on. label Jun 19, 2024
@f2c-ci-robot f2c-ci-robot bot added this to the 2.17.x milestone Jun 19, 2024
@ruibaby
Copy link
Member

ruibaby commented Jun 27, 2024

/assign

我将尝试在文章设置中提供编辑作者的选项。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core area/ui Issues or PRs related to the Halo UI kind/feature Categorizes issue or PR as related to a new feature. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants