Skip to content

Conversation

@Pearl1594
Copy link
Contributor

Description

This PR fixes: #5477 wherein domain admins aren't allowed to list available IDPs.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

image

@Pearl1594
Copy link
Contributor Author

@blueorangutan ui

@rohityadavcloud rohityadavcloud added this to the 4.16.0.0 milestone Sep 21, 2021
if ('listIdps' in this.$store.getters.apis) {
this.fetchIdps()
}
this.fetchIdps()
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we check that, otherwise it could fail @Pearl1594 cc @shwstppr

@Pearl1594
Copy link
Contributor Author

Closing this as it can be handled as part of #5481

@Pearl1594 Pearl1594 closed this Sep 21, 2021
@Pearl1594
Copy link
Contributor Author

The listIdps API doesn't actually have any authorization restriction based on user roles. However, it isn't part of the API list for roles other than root admin. Legacy UI, didn't enforce this check either.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem adding SAML user as Domain Admin

3 participants