Skip to content

朋友圈所有者没有权限删除其他人的评论 #730

Open
@horstonema

Description

@horstonema

前置操作:
1 存在机器人A和机器人B,两者为好友
2 机器人A发布一条朋友圈
3 机器人B对该条朋友圈发布一条评论

机器人A调用 /robot/moments/comment/recall 接口删除机器人B的评论,报错,提示没有权限。
具体错误信息: {"code":248,"msg":"no right to operate"}

期望:
朋友圈的所有者A可以删除所有对其朋友圈的评论

其他:
/api/version返回:
{
tags: "null",
branch: "d7df5ef706abdbe1f08bb7220afc76d20eaa2b22",
dirty: "null",
remoteOriginUrl: "git@github.com:heavyrain2012/server_commercial.git",
commitId: "d7df5ef706abdbe1f08bb7220afc76d20eaa2b22",
commitIdAbbrev: "d7df5ef",
describe: "llld-282-gd7df5ef-dirty",
describeShort: "null",
commitUserName: "heavyrian2012",
commitUserEmail: "heavyrain.lee@wildfirehat.cn",
commitMessageFull: "修改启动脚本注释
",
commitMessageShort: "修改启动脚本注释",
commitTime: "20250114105049",
label: "80511e7e-d922-435b-82f5-45a0a7c0dfd7",
nodeIds: "1 ",
closestTagName: "null",
closestTagCommitCount: "null",
buildUserName: "Unknown",
buildUserEmail: "Unknown",
buildTime: "20250123203812",
buildHost: "null",
buildVersion: "null",
verified: true,
currentNode: 1,
runTime: 171354
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions