Skip to content

PlatformClient: project members, roles, folder grants, API tokens by project and BI export (APOGEA) - #78

Open
agviegas wants to merge 4 commits into
mainfrom
feat/apogea-admin-and-export
Open

agviegas wants to merge 4 commits into
mainfrom
feat/apogea-admin-and-export

Conversation

@agviegas

@agviegas agviegas commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

The library half of what APOGEA asked for (21-10 and 23-10). The backend routes are in platform_backend-api #580–#583.

Project administration (their 2.1–2.3)

  • listMembers, addMember, setMemberRole, removeMember.
  • inviteMember (with a role), listInvitations, cancelInvitation.
  • listRoles, createRole, updateRole, deleteRole, with folder grants: Permission.resourcePermissions, optionally for everything under a folder (appliesToDescendants).
  • getPermissionMatrix: every role, what it may do and who has it.
  • PermissionSubject gains 'API'.

API tokens (their 2.5)

  • listTokens, getTokenSecret, createToken, updateToken, revokeToken.
  • projectIds limits a token to some projects. Without it, the token works on every project its owner can reach.

BI export (21-10)

  • exportProjectDocuments(projectId, { format: 'csv' }): one row per document, as CSV. Without format it answers JSON ({ columns, value }). It calls backend GET /item/export, which comes in #583.

The commits are cherry-picked onto origin/main from local main, so they can go out without the rest of it. Each one comes with a changeset (minor). Tests: platform-client.members, platform-client.tokens and client.export, all green locally.

🤖 Generated with Claude Code

agviegas and others added 4 commits October 27, 2026 17:58
…n matrix (APOGEA 23-10)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…le for BI (APOGEA 21-10)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…one (APOGEA 23-10, 2.5)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t touch as it was

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant