summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-24 12:08:36 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-24 12:08:36 +0000
commit4720346c2e10e1ff62a20b39dfc9866eb88858e6 (patch)
tree1b277cb86d928b3372a714d21b5e068c5b9d66f1 /app/models
parent028c7bdc315c3770f2ccc86f1100d90a5f702cad (diff)
downloadgitlab-ce-4720346c2e10e1ff62a20b39dfc9866eb88858e6.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 146747eb57a..7aa13a94c8f 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -3168,6 +3168,11 @@ class Project < ApplicationRecord
group.crm_enabled?
end
+ def frozen_outbound_job_token_scopes?
+ Feature.enabled?(:frozen_outbound_job_token_scopes, self) && Feature.disabled?(:frozen_outbound_job_token_scopes_override, self)
+ end
+ strong_memoize_attr :frozen_outbound_job_token_scopes?
+
private
def pages_unique_domain_enabled?