Skip to content

project: Identity and Access Management#866

Merged
zliang-akamai merged 6 commits intomainfrom
proj/iam
Dec 16, 2025
Merged

project: Identity and Access Management#866
zliang-akamai merged 6 commits intomainfrom
proj/iam

Conversation

@jriddle-linode
Copy link
Collaborator

No description provided.

jriddle-linode and others added 3 commits June 3, 2025 10:51
## 📝 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
@jriddle-linode jriddle-linode added the project for new projects in the changelog. label Dec 15, 2025
## 📝 Description

Adds `io_ready` field to Volumes and 2 new endpoints for IAM

## ✔️ How to Test

```
make test-unit
```
@jriddle-linode jriddle-linode marked this pull request as ready for review December 15, 2025 21:18
@jriddle-linode jriddle-linode requested a review from a team as a code owner December 15, 2025 21:18
@jriddle-linode jriddle-linode requested review from ezilber-akamai and yec-akamai and removed request for a team December 15, 2025 21:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 IOReady boolean 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.

Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@zliang-akamai zliang-akamai merged commit 8c9eb0e into main Dec 16, 2025
11 checks passed
@jriddle-linode jriddle-linode deleted the proj/iam branch December 16, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

project for new projects in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants