Skip to content

feat: use organization-scoped IAM admin role in owner#196

Merged
scotwells merged 1 commit intomainfrom
feat/owner-role-use-org-iam-admin
Mar 23, 2026
Merged

feat: use organization-scoped IAM admin role in owner#196
scotwells merged 1 commit intomainfrom
feat/owner-role-use-org-iam-admin

Conversation

@scotwells
Copy link
Copy Markdown
Collaborator

Summary

The owner role previously inherited iam-admin, which includes permissions for platform-level resources (protectedresources, users) that have no Organization parent. Granting those permissions at the organization level gives access broader than intended.

This PR switches to iam-organization-admin (introduced in datum-cloud/milo#532), which covers only IAM resources that are scoped to an organization:

  • groups and groupmemberships
  • userinvitations
  • policybindings

The platform-level IAM permissions (users.*, protectedresources.*, roles.*) are no longer granted through the owner role.

Dependency

Requires datum-cloud/milo#532 to be merged and deployed so that the iam-organization-admin role exists in milo-system.

Test plan

  • Verify the owner role can still manage groups, policybindings, and userinvitations within an organization
  • Verify the owner role no longer grants access to platform-level IAM resources (protectedresources, users)

🤖 Generated with Claude Code

The iam-admin role includes permissions for platform-level resources
(protectedresources, users) that are not scoped to organizations. The
owner role is an organization-level role and should not grant access to
platform-wide IAM resources.

Switch to iam-organization-admin, which covers only org-scoped IAM
resources: groups, groupmemberships, userinvitations, and policybindings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@scotwells
Copy link
Copy Markdown
Collaborator Author

Tracking issue: datum-cloud/auth-provider-openfga#80

@scotwells scotwells requested a review from kevwilliams March 23, 2026 18:43
@scotwells scotwells merged commit 48c46f8 into main Mar 23, 2026
9 checks passed
@scotwells scotwells deleted the feat/owner-role-use-org-iam-admin branch March 23, 2026 18:45
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.

2 participants