diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-29 06:09:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-29 06:09:44 +0300 |
commit | 111f9a7cc6834edfeb81c4b91bcf43df332096a7 (patch) | |
tree | 76db22a425042d59c08d7bcecaed160cfdef885a /app/models/organizations | |
parent | 72278d5e10d7470b59b81c1e51379baa3a6cdab8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/organizations')
-rw-r--r-- | app/models/organizations/organization_setting.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/organizations/organization_setting.rb b/app/models/organizations/organization_setting.rb index 5a5ace0cc06..108531e6701 100644 --- a/app/models/organizations/organization_setting.rb +++ b/app/models/organizations/organization_setting.rb @@ -4,6 +4,8 @@ module Organizations class OrganizationSetting < ApplicationRecord belongs_to :organization + validates :settings, json_schema: { filename: "organization_settings" } + jsonb_accessor :settings, restricted_visibility_levels: [:integer, { array: true }] |