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:
authorNick Thomas <nick@gitlab.com>2018-09-21 11:44:34 +0300
committerNick Thomas <nick@gitlab.com>2018-09-21 16:33:08 +0300
commit45ced6c5de760ef64b1f5e201ce518b1912c7704 (patch)
treead81f9c3c1fed3569b070592a3e16d7623915064 /app/finders/user_recent_events_finder.rb
parent8c2192943a5efc4d0a28c67b04bf9b979def66a1 (diff)
Redact events shown in the events API
Diffstat (limited to 'app/finders/user_recent_events_finder.rb')
-rw-r--r--app/finders/user_recent_events_finder.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/finders/user_recent_events_finder.rb b/app/finders/user_recent_events_finder.rb
index a4daf5b5841..eeca5026da1 100644
--- a/app/finders/user_recent_events_finder.rb
+++ b/app/finders/user_recent_events_finder.rb
@@ -3,6 +3,7 @@
# Get user activity feed for projects common for a user and a logged in user
#
# - current_user: The user viewing the events
+# WARNING: does not consider project feature visibility!
# - user: The user for which to load the events
# - params:
# - offset: The page of events to return