Repository transfer in private workspace allows "Make repository private" checkbox to be unchecked, causing save error

XMLWordPrintable

    • 1

      Issue Summary

      When transferring a repository between Projects within a private workspace, the "Make this repository private" checkbox is incorrectly enabled (editable) instead of being greyed out (disabled). Unchecking the box and attempting to save results in an error. The checkbox should be greyed out and locked to private whenever the parent workspace is private, regardless of the destination project's visibility settings.

      Steps to Reproduce

      1. Create or use a workspace where the workspace visibility is set to Private
      1. Within that workspace, create at least two Projects (e.g., Project A and Project B); both can be private
      1. Navigate to a repository in Project A and initiate a Transfer repository action to move it to Project B
      1. In the transfer dialog, observe the "Make this repository private" checkbox
      1. Uncheck the checkbox and click Save / Transfer

      Expected Results

      The "Make this repository private" checkbox should be greyed out (disabled) and pre-checked when:

      • The workspace is set to Private, OR
      • Both the workspace and destination Project are set to Private

      This is because a repository inside a private workspace cannot be made public — the workspace privacy setting should enforce and lock the repository visibility during transfer.

      Actual Results

      The "Make this repository private" checkbox remains enabled and editable during the repository transfer between Projects in a private workspace. When the user unchecks the box and attempts to save the transfer, the operation fails and an error is thrown.

      Workaround

      Workaround is not required as this is not a blocker nor a bug.

              Assignee:
              Unassigned
              Reporter:
              Climacus Wilson
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: