Add DataSync PAM token resources and create permission - #255
Merged
Conversation
Support datasync:entities, datasync:memberships, and datasync:relationships resource categories in parsed PAM tokens, plus the create (bit 16) permission, including the KMP wrapper and parsing tests. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
marcin-cebo
approved these changes
Jul 28, 2026
| @@ -61,11 +61,28 @@ public struct PAMTokenResource: Codable, Equatable, Hashable { | |||
| public let channels: [String: PAMPermission] | |||
| public let groups: [String: PAMPermission] | |||
There was a problem hiding this comment.
Projections will be added in separate PR, right ?
Contributor
Author
There was a problem hiding this comment.
Projections are part of the meta field which already exists here
…y_class_level
Wrap POST/PUT request bodies in the {"data": ...} envelope required by the
DataSync service, matching the response-side envelope the SDK already decodes.
Expose the entity_class_level query param on entity/user/channel list
endpoints and add optional entityClass/entityClassLevel to the user/channel
create bodies to match the spec's create request schemas.
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.
No description provided.