Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Role apply on SunfishLoop now auto-opens an approval task

说明与用途

SunfishLoop 现在在提交角色申请时自动创建审批任务,简化了管理员的审核流程,将聊天、进度日志和决策集中在一个单元中。

问题

Admins lacked a unified collaboration unit for reviewing role applications, requiring separate decision APIs and lacking chat or progress logs.

结果

The new auto-created approval task streamlines admin review, consolidating chat, progress, and decision into a single unit without adding a new decision API.

工作流

  • Candidate applies via POST /api/v1/roles/:roleId/applications, receiving auto_accepted:false and a task in the response.
  • Admins receive application.submitted notification and open the task brief to review applicant notes, profile, and role link in the task chat.
  • Admins use POST /api/v1/applications/:id/decision to accept or reject; accept completes the task and records progress, reject voids the task and records progress. The application closes with the decision.

证据

when someone submits POST /api/v1/roles/:roleId/applications, the familiar application.submitted work-notification / webhook still fires — and the server auto-creates a project task titled「{applicant} 申请岗位「{role name}」」, linked by application_id / role_id.

来源

Task members are approval-capable admins only (project owner + 协作管理者, plus role.reviewer_ids when set). The applicant is never a task member, so they cannot self-approve.

来源

  • 记录日期: 2026-11-01T05:28:58.241Z