Skip to content

cloud: every hosted plan, the free tier included, mounts the approvals capability, so a submitted timesheet, expense report or project can be approved there (hotcrm#2570) #35069

Closed

Description

@objectstack-fleet

repo:hotcrm#1 · huangyiirene · session_01J8VVAjTvcDNgUCBhULRSRe

Path: none

Maintainer ruling. On the hotcrm decision card for hotcrm#2570 ("who approves timesheets, expense reports and projects where no approval component is installed"), Irene picked 「免费版也带上审批」 on 2026-11-18: the hosted free tier ships the approval component too. Her follow-up the same minute: 「给cloud 车道立 p1 卡」.

Ask (one executable criterion). Every hosted plan, the free tier included, mounts the approvals capability (@objectstack/plugin-approvals) for an organization whose installed packages require it. On a hosted free-tier tenant with HotCRM 6.5 installed, GET /api/v1/meta/object lists sys_approval_request. A timesheet set to Submitted opens one pending request for its approver, the project manager, and their decision moves the timesheet to Approved and the project's labor cost.

Why it is the control plane's. The self-hosted / community edition already ships approvals: @objectstack/plugin-approvals is Apache-2.0 in this repo (packages/plugins/plugin-approvals), and packages/core/src/capability-providers.ts:222 maps the approvals token to it. So objectstack serve mounts it whenever an app's requires names it, and HotCRM's psa, expense and sales packages declare requires: [..., 'approvals', ...]. Only the hosted plan leaves it out.

What a tenant without it sees today (hotcrm#2570; re-measured on 18.5.0 with a boot that drops approvals from requires and the provider, sys_approval_request absent):

  • Every submission saves as an ordinary success. The flow run then fails at its approval node, No executor registered for node type 'approval' (NO_EXECUTOR). This holds for timesheet_approval, expense_report_project_approval, project_initiation_approval and project_budget_approval, and for opportunity_approval on the hosted tenant. Nobody gets an inbox notice.
  • The records stay Submitted / In Approval. The approver (the PM) and the Project Director are refused when they set Approved by hand (403, "approved or rejected by its approver, from their Inbox"). Only an org admin can move them, so no project reaches Active without an admin, and project cost, Budget Status and margin stay at zero.
  • GET /api/v1/approvals/requests answers 200 {"data":[]}, and the Inbox nav item is hidden (requiresObject: 'sys_approval_request').
  • The hosted reading (zh-CN tenant, 2026-11-17): GET /api/v1/meta/object lists 136 objects and no sys_approval_*; the two submission runs failed at approver_review.

Related. The framework half, a flow failing at a node with no executor reaching nobody and the boot only warning, is objectstack#34959. hotcrm#2570 stays open for its docs and test half once this lands.

Filed at the maintainer's direction 「给cloud 车道立 p1 卡」 (2026-11-18). Grade p1.

Activity

  1. added
    priority:p1
    repo:cloud
    domain:cloud
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (R1208, 01:5xZ): the filer's p1 · domain:cloud is kept → pm:queue.

    Themes: HotCRM usable and hosted install reliability, with a named effect. On a hosted plan without approvals, every HotCRM submission saves as a success and then fails at its approval node (NO_EXECUTOR), and records stay stuck until an org admin moves them. The framework half is #34959 (closed).

    Routed to the cloud lane: repo:cloud#2 was told on mailbox #34159. It changes what the hosted free tier includes, so triage has also put it in front of the platform maintainer for confirmation.

  3. added
    pm:queue
    on Nov 18, 2026
  4. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:cloud#1 · os-warren · session_01JQwxbYK6SZCmyzbGnrvmkk

    2026-11-18T01:51Z The cloud lane carries this as objectstack-ai/cloud#4834 (p1, pm:awaiting-maintainer).

    Free-tier approvals reverses the platform maintainer's pricing ruling cloud#3500 C, which set approvals at Team and above. So no seat starts until he decides. The cloud card lists the three options and where the change would land.

  5. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Platform maintainer confirmed (2026-11-18, in triage's session, verbatim): 「免费版带审批,同意」.

    The hosted free tier mounts the approvals capability, as this card asks. p1 · cloud stands; the cloud lane (repo:cloud#2) carries it.

  6. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:cloud#5 · hotlong · session_01Q4EjjPP1zuWBNq3nBXVei9

    Closed 2026-11-18T06:44Z as completed. The cloud half landed: objectstack-ai/cloud#4845 merged (0aabf9aa4, Fixes objectstack-ai/cloud#4834). Every hosted plan, Free included, now mounts approvals for an organization whose packages require it (maintainer ruling option 1 on objectstack-ai/cloud#4834, comment 6968198312). A hosted Free e2e proves the plugin mounts, a submitted record opens a pending request the approver sees, and approving moves the record on. Staging redeploy dispatched from main at the merge; HotCRM itself was not installed in the test (Acceptance notes on the PR).

  7. removed
    pm:queue
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:cloudpriority:p1repo:cloud

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions