Skip to content

Conversation

@bbellamgari
Copy link
Contributor

PR summary

This PR includes changes for role_template_references changes for policy template creation.

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Currently we do not support role_template_references in policy templates. With this new behaviour, we are adding that functionality

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

https://github.ibm.com/IAM/AM-issues/issues/4045

…for role template references

Signed-off-by: Bhavana Bellamgari <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Dec 10, 2025

CLA assistant check
All committers have signed the CLA.

@bbellamgari
Copy link
Contributor Author

bbellamgari commented Dec 10, 2025

$ pytest test/integration/test_iam_policy_management_v1.py 
================================================================================================================ test session starts ================================================================================================================
platform darwin -- Python 3.10.17, pytest-7.4.4, pluggy-1.6.0
rootdir: /Users/bhavanabellamgari/PlatformServicesSDKs/platform-services-python-sdk
plugins: cov-4.1.0
collected 73 items                                                                                                                                                                                                                                  

test/integration/test_iam_policy_management_v1.py .........................................................................                                                                                                                   [100%]

================================================================================================================ 73 passed in 57.35s ================================================================================================================
$ pytest examples/test_iam_policy_management_v1_examples.py 
================================================================================================================ test session starts ================================================================================================================
platform darwin -- Python 3.10.17, pytest-7.4.4, pluggy-1.6.0
rootdir: /Users/bhavanabellamgari/PlatformServicesSDKs/platform-services-python-sdk
plugins: cov-4.1.0
collected 65 items                                                                                                                                                                                                                                  

examples/test_iam_policy_management_v1_examples.py .................................................................                                                                                                                          [100%]

=========================================================================================================== 65 passed in 60.04s (0:01:00) ===========================================================================================================

Copy link
Member

@pyrooka pyrooka left a comment

Choose a reason for hiding this comment

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

Looks good!

@bbellamgari bbellamgari merged commit f364299 into main Dec 10, 2025
16 checks passed
@bbellamgari bbellamgari deleted the generate_rtr_python branch December 10, 2025 17:05
ibm-devx-sdk pushed a commit that referenced this pull request Dec 10, 2025
# [0.72.0](v0.71.0...v0.72.0) (2025-12-10)

### Features

* **IAM Policy Management:** re-gen service after recent API changes for role template references ([#312](#312)) ([f364299](f364299))
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 0.72.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants