-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Workspace - Settings Privacy
-
None
-
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
- Create or use a workspace where the workspace visibility is set to Private
- Within that workspace, create at least two Projects (e.g., Project A and Project B); both can be private
- Navigate to a repository in Project A and initiate a Transfer repository action to move it to Project B
- In the transfer dialog, observe the "Make this repository private" checkbox
- 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.