feat: add member candidates endpoint and approvals page

- serve active identities outside the org at /api/orgs/{id}/member-candidates and back the members page from it
- add an org approvals page for default owner, deadline and escalation path over /api/settings
This commit is contained in:
sam committed 2026-11-22 23:03:01 +11:00
1 parent e801306c15
commit 33f7ebdff4
11 files changed
+398 -22

No files matched your search

+56
View File
@@ -1833,6 +1833,18 @@ components:
- to
- reason
type: object
GovernanceCandidatesBody:
additionalProperties: false
properties:
identities:
items:
$ref: "#/components/schemas/GovernanceMemberCandidate"
type:
- array
- "null"
required:
- identities
type: object
GovernanceCapabilitiesBody:
additionalProperties: false
properties:
@@ -2021,6 +2033,23 @@ components:
- role
- status
type: object
GovernanceMemberCandidate:
additionalProperties: false
properties:
display_name:
description: Name shown for the identity
type: string
id:
description: Identity ID
type: string
kind:
description: Identity kind
type: string
required:
- id
- kind
- display_name
type: object
GovernanceMembersBody:
additionalProperties: false
properties:
@@ -7089,6 +7118,33 @@ paths:
summary: List the organisation's name changes
tags:
- Organisations
/api/orgs/{id}/member-candidates:
get:
operationId: list-org-member-candidates
parameters:
- description: Organisation ID
in: path
name: id
required: true
schema:
description: Organisation ID
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/GovernanceCandidatesBody"
description: OK
default:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"
description: Error
summary: List active identities that can be added as members
tags:
- Access
/api/orgs/{id}/members:
get:
operationId: list-org-members