Skip to content

Fix name field exclusion in KeypairResourcePolicySettingModal props #4442

@ironAiken2

Description

@ironAiken2

The KeypairResourcePolicySettingModal component is currently passing the 'name' field in the props object when updating keypair resource policies, which causes issues because the name field should not be included in the modification payload.

Acceptance Criteria:

  • The 'name' field should be properly excluded from the props object when creating/modifying keypair resource policies
  • The modal should function correctly without passing unwanted fields to the API
  • No regression in existing functionality

Technical Details:
This issue affects the form submission logic in the handleOk method of the KeypairResourcePolicySettingModal component, where form values are processed and sent to the GraphQL mutation.

JIRA Issue: FR-1597

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions