summaryrefslogtreecommitdiff
path: root/changelogs/unreleased/22699-group-permssion-background-migration.yml
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2016-11-09 22:54:58 +0000
committerNick Thomas <nick@gitlab.com>2016-11-10 17:58:31 +0000
commit2689428ac2071cf300a11d812ad2b9249df7eaac (patch)
tree2b5b6353c6bb8dcbef6508e2408984d6c6f4b77f /changelogs/unreleased/22699-group-permssion-background-migration.yml
parentd366a943ffe2ae6c3599c2ebc4469d49a103bacb (diff)
downloadgitlab-ce-2689428ac2071cf300a11d812ad2b9249df7eaac.tar.gz
Fix project records with invalid visibility_level values
The AddVisibilityLevelToGroups migration introduced a visibility_level for namespaces and specified that projects should always have a visibility level less than or equal to their namespace. However, some invalid rows could have been created. This commit introduces a migration that updates the invalid rows, setting the invalid project to have the same visibility_level as their namespaces. This will make some projects internal or private when they would previously have been public or internal, but this is better than silently making an internal or private group public.
Diffstat (limited to 'changelogs/unreleased/22699-group-permssion-background-migration.yml')
-rw-r--r--changelogs/unreleased/22699-group-permssion-background-migration.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/22699-group-permssion-background-migration.yml b/changelogs/unreleased/22699-group-permssion-background-migration.yml
new file mode 100644
index 00000000000..e8c221b6c42
--- /dev/null
+++ b/changelogs/unreleased/22699-group-permssion-background-migration.yml
@@ -0,0 +1,4 @@
+---
+title: Fix project records with invalid visibility_level values
+merge_request: 7391
+author: