Repository navigation
PlatformClient: project members, roles, folder grants, API tokens by project and BI export (APOGEA) - #78
Open
agviegas wants to merge 4 commits into
Open
PlatformClient: project members, roles, folder grants, API tokens by project and BI export (APOGEA)#78agviegas wants to merge 4 commits into
agviegas wants to merge 4 commits into
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.PermissionSubjectgains'API'.API tokens (their 2.5)
listTokens,getTokenSecret,createToken,updateToken,revokeToken.projectIdslimits 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. Withoutformatit answers JSON ({ columns, value }). It calls backendGET /item/export, which comes in #583.The commits are cherry-picked onto
origin/mainfrom 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.tokensandclient.export, all green locally.🤖 Generated with Claude Code