diff options
author | Nick Thomas <nick@gitlab.com> | 2016-11-10 01:54:58 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2016-11-10 20:58:31 +0300 |
commit | 2689428ac2071cf300a11d812ad2b9249df7eaac (patch) | |
tree | 2b5b6353c6bb8dcbef6508e2408984d6c6f4b77f /changelogs | |
parent | d366a943ffe2ae6c3599c2ebc4469d49a103bacb (diff) |
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')
-rw-r--r-- | changelogs/unreleased/22699-group-permssion-background-migration.yml | 4 |
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: |