Commit 42ccb34f authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '218722-enable-project-access-tokens-by-default' into 'master'

Enable :resource_access_token feature flag by default

See merge request gitlab-org/gitlab!39287
parents f63d81f0 94948949
......@@ -774,7 +774,7 @@ module ProjectsHelper
def project_access_token_available?(project)
return false if ::Gitlab.com?
::Feature.enabled?(:resource_access_token, project)
::Feature.enabled?(:resource_access_token, project, default_enabled: true)
end
end
......
......@@ -32,7 +32,7 @@ module ResourceAccessTokens
attr_reader :resource_type, :resource
def feature_enabled?
::Feature.enabled?(:resource_access_token, resource)
::Feature.enabled?(:resource_access_token, resource, default_enabled: true)
end
def has_permission_to_create?
......
---
title: Enable `:resource_access_token` feature flag by default
merge_request: 39287
author:
type: added
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