project: Identity and Access Management#866
Merged
zliang-akamai merged 6 commits intomainfrom Dec 16, 2025
Merged
Conversation
## 📝 Description
**What does this PR do and why is this change necessary?**
Implements:
- **GET** /entities
- **GET** /iam/role-permissions
- **GET** /iam/users/{username}/role-permissions
- **PUT** /iam/users/{username}/role-permissions
## ✔️ How to Test
**How do I run the relevant unit/integration tests?**
```bash
make TEST_ARGS='-run TestIAM' test-unit
```
```bash
make TEST_ARGS='-run TestEntities' test-unit
```
Merge main into IAM project branch
## 📝 Description Adds `io_ready` field to Volumes and 2 new endpoints for IAM ## ✔️ How to Test ``` make test-unit ```
ezilber-akamai
approved these changes
Dec 15, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Identity and Access Management (IAM) functionality to the SDK, including support for managing user and account role permissions, entity access controls, and entity listing. Additionally, it adds an IOReady field to the Volume struct.
Key Changes:
- Implemented IAM-related types and API methods for managing role permissions at user and account levels
- Added entity management functionality for listing entities and retrieving entity-specific roles
- Extended Volume struct with an
IOReadyboolean field
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| iam.go | Defines IAM types and methods for managing user/account role permissions |
| entities.go | Implements entity listing and entity-role retrieval functionality |
| volumes.go | Adds IOReady field to Volume struct |
| test/unit/iam_test.go | Unit tests for IAM permission operations |
| test/unit/entities_test.go | Unit tests for entity listing and permission retrieval |
| test/unit/volume_test.go | Updates volume test to verify IOReady field |
| test/unit/fixtures/*.json | Test fixture data for IAM and entity operations |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ezilber-akamai
approved these changes
Dec 16, 2025
zliang-akamai
approved these changes
Dec 16, 2025
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.