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

删除用户后,所有的文章作者均显示为已删除的用户,是否可以支持变更文章作者的功能。 #3518

Closed
MoshiCoCo opened this issue Mar 15, 2023 · 2 comments
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@MoshiCoCo
Copy link

你当前使用的版本

2.3.1

描述一下此特性

需求场景描述

例如我初始化时使用了admin这个账户名初始化,后面我不需要用admin这个账户了。

用了自定义的superadmin作为默认账户。

之后删除admin账号,会导致之前的文章作者都变成”已删除用户“

需求描述

是否可以在管理后台修改文章时,增加一个变更作者的功能。

我的临时解决方案

目前我采用的方案时手动变更。

update extensions
set  data=replace(data,'"owner":"admin"','"owner":"superadmin"')
where data like '%"owner":"admin"%'
  and name like '%"/registry/content.halo.run/posts"%'

附加信息

No response

@ruibaby
Copy link
Member

ruibaby commented Mar 15, 2023

/triage duplicate

see #3056

/close

@f2c-ci-robot f2c-ci-robot bot added the triage/duplicate Indicates an issue is a duplicate of other open issue. label Mar 15, 2023
@f2c-ci-robot f2c-ci-robot bot closed this as completed Mar 15, 2023
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Mar 15, 2023

@ruibaby: Closing this issue.

In response to this:

/triage duplicate

see #3056

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

2 participants