Skip to content

Allow updating only the parent of a project via PATCH #2401

Closed

Description

@nscuro

Current Behavior

From Slack: https://owasp.slack.com/archives/C6R3R32H4/p1674238326358199

It is currently not possible to update only a project's parent property via PATCH /api/v1/project/<UUID>.

Instead, all properties of the project must be provided, and the POST /api/v1/project/<UUID> endpoint must be used.
In order to not delete or unset any previously set properties, it is necessary to fetch the project first, which adds overhead.

Proposed Behavior

Allow for updating only the project's parent via PATCH, without having to worry about any other project properties.

Checklist

Activity

  1. added
    enhancement
    on Jan 21, 2023
  2. added this to the 4.8 milestone on Jan 21, 2023
  3. added a commit that references this issue on Jan 28, 2023
  4. github-actions commented on Feb 25, 2023

    @github-actions
    Contributor

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  5. locked as resolved and limited conversation to collaborators on Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions