Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@eguerrant
Copy link
Contributor

Currently, the description of the app owners group is not changed when an app is renamed so it'll still say "Owners of the application" and app owner group descriptions can't be modified in the Access UI. Fixes this for new name changes (not existing name mismatches)

Copilot AI review requested due to automatic review settings May 22, 2025 21:39
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

Ensures that when an application is renamed, its owner group’s description is also updated for future name changes.

  • Add conditional logic to set the owner group's description to use the new app name
  • Continue to invoke okta.update_group with the updated description
Comments suppressed due to low confidence (1)

api/views/resources/app.py:152

  • Add a unit or integration test to verify that when an app is renamed, the owner group’s description is updated accordingly.
if app_group.is_owner:

@eguerrant eguerrant requested a review from somethingnew2-0 May 27, 2025 22:03
api/helpers.py Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

barborico
barborico previously approved these changes May 28, 2025
Copy link
Contributor

@barborico barborico left a comment

Choose a reason for hiding this comment

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

Once Peter's comment and the linter errors are addressed, LGTM!

@somethingnew2-0 somethingnew2-0 merged commit 5ecde91 into main May 28, 2025
6 checks passed
@somethingnew2-0 somethingnew2-0 deleted the app_group_desc_bug branch May 28, 2025 20:03
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.

4 participants