Commit 29ce5987 authored by Nick Kipling's avatar Nick Kipling Committed by Kushal Pandya

Add additional public note to project container registry setting

parent a1a6def1
...@@ -144,6 +144,10 @@ export default { ...@@ -144,6 +144,10 @@ export default {
visibilityLevelDescription() { visibilityLevelDescription() {
return visibilityLevelDescriptions[this.visibilityLevel]; return visibilityLevelDescriptions[this.visibilityLevel];
}, },
showContainerRegistryPublicNote() {
return this.visibilityLevel === visibilityOptions.PUBLIC;
},
}, },
watch: { watch: {
...@@ -286,6 +290,9 @@ export default { ...@@ -286,6 +290,9 @@ export default {
label="Container registry" label="Container registry"
help-text="Every project can have its own space to store its Docker images" help-text="Every project can have its own space to store its Docker images"
> >
<div v-if="showContainerRegistryPublicNote" class="text-muted">
{{ __('Note: the container registry is always visible when a project is public') }}
</div>
<project-feature-toggle <project-feature-toggle
v-model="containerRegistryEnabled" v-model="containerRegistryEnabled"
:disabled-input="!repositoryEnabled" :disabled-input="!repositoryEnabled"
......
---
title: Added warning note on the project container registry setting informing users
that the registry is public for public projects
merge_request: 32447
author:
type: other
...@@ -7643,6 +7643,9 @@ msgstr "" ...@@ -7643,6 +7643,9 @@ msgstr ""
msgid "Note: Consider asking your GitLab administrator to configure %{github_integration_link}, which will allow login via GitHub and allow importing repositories without generating a Personal Access Token." msgid "Note: Consider asking your GitLab administrator to configure %{github_integration_link}, which will allow login via GitHub and allow importing repositories without generating a Personal Access Token."
msgstr "" msgstr ""
msgid "Note: the container registry is always visible when a project is public"
msgstr ""
msgid "NoteForm|Note" msgid "NoteForm|Note"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment