Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-11 00:10:02 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-11 00:10:02 +0300
commitb20c558db21c0ba8f033217bd6bc2b470716a105 (patch)
tree3c6cc717ae6074e581d76161fdcbf13b00612ecf /app/policies/concerns
parentd715acda3b27b7ca9eacbd058d7cb9629638c52d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/concerns')
-rw-r--r--app/policies/concerns/policy_actor.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/concerns/policy_actor.rb b/app/policies/concerns/policy_actor.rb
index 08a26da6673..cbc34bdeed3 100644
--- a/app/policies/concerns/policy_actor.rb
+++ b/app/policies/concerns/policy_actor.rb
@@ -84,6 +84,10 @@ module PolicyActor
def password_expired?
false
end
+
+ def from_ci_job_token?
+ false
+ end
end
PolicyActor.prepend_mod_with('PolicyActor')