Skip to content

GONRG-9539 groups returns role as null if not required

Related ADR - #165

MR - !656 (merged)

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [NO]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • Google Cloud
  • IBM

Does this introduce a breaking change?

  • [NO]

What is the current behavior?

If "roleRequired" is "false" or is not present endpoints "/groups" and "/members/{member_email}/groups" will return role as empty string.

What is the new/expected behavior?

If "roleRequired" is "false" or is not present then "role" field is not present in response.

Have you added/updated Unit Tests and Integration Tests?

  • [YES]

ADR reference

Entitlements - Additional attributes in list groups on behalf of API

Merge request reports